-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fluffy find_content return enrs is returning enrs which are not closer then recipient node breaking spec #1658
Comments
Interesting, I was not aware of this limitation in the specifications. I went intuitively with the version that provides also nodes that are in its "neighbourhood" as I think that limiting it at only closer nodes could make the recursive find content die out more quickly while the data is available in the network, or at least cause it to make more hops to find the node with the content. Assume that a node only has few nodes from the neighbourhood of the content (say same bucket value) in its routing table. |
Closing this as instead specs got adjusted: ethereum/portal-network-specs#222 |
Fluffy find_content return enrs is returning enrs which are not closer then recipient node breaking spec
https://github.com/ethereum/portal-network-specs/blob/d4937248164418c598ab3c15b12f4489a14532cc/portal-wire-protocol.md?plain=1#L131
here is the line I am refering to ^
list of ENR records of nodes that are closer than the recipient is to the requested content.
the spec says closer then the recipient currently fluffy is just returning the closest 16 it has, which instead the reicipient should only return enrs it knows closer then itself.
I found this bug well trying to write my 3 client find_content test.
@kdeme since Idk if I should ping you or not.
The text was updated successfully, but these errors were encountered: