ethereum / devp2p

Ethereum peer-to-peer networking specifications
972 stars 273 forks source link

fix distance threshold for k-buckets #219

Closed Rjected closed 1 year ago

Rjected commented 1 year ago

The criteria for keeping a k-bucket for a node was incorrect, or at least unclear: 2i to 2i+1 instead of 2^i to 2^(i+1)

Rjected commented 1 year ago

whoops just saw the other pr lol