Author

Topic: Version field in the getheaders message (Read 769 times)

legendary
Activity: 1596
Merit: 1100
July 31, 2013, 01:43:50 PM
#4
Where do you see a version field in the "getheaders" message?

"getheaders" has two parameters, locator and hashStop.

It says there is a version field in the protocol spec.

However, I should have read it more closely, version means the protocol version, so nevermind.

No, it is the version of the block-locator object.

The wiki is unclear.  "getheaders" receives two parameters, a block-locator object and a hashStop.  Inside the block-locator object, there is a version for that locator data structure only.  The version applies to the locator object, not getheaders message as a whole or hashStop parameter.

legendary
Activity: 1232
Merit: 1094
July 31, 2013, 05:58:12 AM
#3
Where do you see a version field in the "getheaders" message?

"getheaders" has two parameters, locator and hashStop.

It says there is a version field in the protocol spec.

However, I should have read it more closely, version means the protocol version, so nevermind.
legendary
Activity: 1596
Merit: 1100
July 31, 2013, 05:49:59 AM
#2
What is the purpose of this field?  Was it intended to only get headers of a particular version?

Where do you see a version field in the "getheaders" message?

"getheaders" has two parameters, locator and hashStop.

Of course, each block header has the block header version.

legendary
Activity: 1232
Merit: 1094
July 30, 2013, 04:03:22 PM
#1
What is the purpose of this field?  Was it intended to only get headers of a particular version?
Jump to: