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
Question about addr handling #1012
Comments
Thanks so much for reaching out Amiti! Yes I believe your analysis is correct, bcoin sends Bitcoin Core log messages:
bcoin log messages:
|
awesome!! thank you for this thorough confirmation :) |
Hi! I'm proposing some changes to addr handling in Bitcoin Core, and trying to ensure there will not be negative consequences for other clients on the network. For more information about the changes, please see my mailing list post. The crux is that, if the changes are accepted, bitcoin core would stop sending addr messages to peers who don't "indicate interest" aka initiate an addr-related message (addr, addrv2, getaddr, or sendaddrv2).
I'd like to ensure that bcoin clients will initiate an addr related message to outbound peers. I've looked in the code and believe the software plays nice, and am looking for a +1 from someone more familiar with this project.
My understanding of the bcoin code is that upon opening a connection, the node will advertise its own address & usually send a
getaddr
message, based on the functionality in handleOpen. If this understanding is accurate, there should be no compatibility issues with my proposed changes. Does this seem right?Thanks in advance!
Amiti
The text was updated successfully, but these errors were encountered: