Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
P2P protocol version message incorrectly defined. #1338
Comments
|
@evoskuil could you provide more information about what you mean by "not properly part of"? If I recall correctly, when I wrote that section, they appeared to be part of all the version messages I inspected on the network and they were part of the Bitcoin [Core] code since 2009. |
|
I just meant that these do not show up on the wire for any version messages from any nodes on mainnet, nor will any node accept them. |
|
Also notice they aren't documented here: https://en.bitcoin.it/wiki/Protocol_documentation#version |
|
This is the code in
It does send two CAddress structures:
So from what I can see, the documentation is correct.
It doesn't expand the subfields there, but |
|
It doesn't look conditional, in |
|
Sorry, my mistake... my address deserialization is capturing the services fields which I didn't notice. |
evoskuil commentedAug 4, 2016
The described
addr_recv servicesandaddr_trans servicesare not properly part of the version message.