Closed decanus closed 4 years ago
In the FindNode test vector we use the distance 256. This number impossible, the max distance due to the fact that we must query with a logarithmic distance is 8. It would probably make sense to use a number which can actually occur.
FindNode
256
log2(256) = 8
https://github.com/ethereum/devp2p/blob/master/discv5/discv5-wire-test-vectors.md#findnode-request
In the
FindNode
test vector we use the distance256
. This number impossible, the max distance due to the fact that we must query with a logarithmic distance is 8. It would probably make sense to use a number which can actually occur.https://github.com/ethereum/devp2p/blob/master/discv5/discv5-wire-test-vectors.md#findnode-request