Tribler / py-ipv8

Python implementation of Tribler's IPv8 p2p-networking layer
GNU Lesser General Public License v3.0
229 stars 47 forks source link

Updated IPv8 exit node script to use RustEndpoint #1266

Closed egbertbouman closed 7 months ago

egbertbouman commented 7 months ago

This PR does the following:

I also fixed some issues with the CommunitySettings:

egbertbouman commented 7 months ago

It looks like in cryptography 42.0 (released less than a day ago) the functions BN_clear_free/BN_clear/BN_zero aren't available anymore. So, I've removed BN_clear_free in favor of manually setting the BIGNUM to 0, followed by a call to BN_free. Not sure this is correct, but given that attestion logic isn't used anyway this seems OK.