Ava Chow said it does not exist (link). If hash_count
does not exist, how will the receiving peer know how many locators are in the message?
I am not sure if he maybe thought that hash_count
does not exist for hash_stop
or it does not even exist for locators
.
Bitcoin wiki says it exists for both getheaders
and getblocks
:
- https://en.bitcoin.it/wiki/Protocol_documentation#getheaders
- https://en.bitcoin.it/wiki/Protocol_documentation#getblocks
Bitcoin for developers also mentions hash_count
field:
If hash_count
is no longer used, when did that change in bitcoin core happen and how was compatibility with old nodes maintained?