Closed ichorid closed 5 years ago
@dsluijk please, look for existing implementations of stuff in C and Rust, instead of doing it by yourself. This will save you a lot of effort. Copy the code if it is license-compatible, or reimplement if it is not.
@ichorid Could you maybe explain to us what py-ipv8 (or tribler?) actually uses the bloom filter for? As far as we could see you only use it in your tests but not in the actual py-ipv8 logic.
It was extensively used by Dispersy, which is gone now. Still, some unused stuff from it remains. If see it is not used in the code, please, file a PR for cleaning it completely from IPv8.
There's a lot of unused stuff in Tribler and IPv8. As you guys are going deeper, you will encounter a lot of cruft. Feel free to question the necessity of its existence, and kill it with fire if you are 100% sure it is dead code!
filing PR
As soon as that will merge, you can close this one :wink:
:ok_hand:
merged :D
https://github.com/Tribler/py-ipv8/blob/master/ipv8/messaging/bloomfilter.py