5

How do I find out what version Protocol specification is describing?

5

As of october 2013, the protocol version is 70001. It's not linked anymore to client versions (so it doesn't correspond to version 0.7.0.1 in particular; 70001 was introduced in 0.8.0), and is intended to go up in increments of one, as changes specified in BIPs are implemented.

  • 1
    Thanks! How do you find this out? Is there a reason why it is not stated on the Protocol specification? – Dan Oct 1 '13 at 19:35
  • 1
    Updating the specification on the wiki, and adding the protocol version in which every field was introduced would be an interesting project :) – Pieter Wuille Oct 1 '13 at 22:22
  • All it needs is a sentence right at the top of the wiki page saying: 'The current protocol version is 70001.' Ideally it would also have a short description of the changes. I would update the wiki myself if I was allowed to edit it. Also where did you check to see what the current protocol version is and when it was updated? – Dan Oct 1 '13 at 23:31
  • 2
    "current" protocol version... it's a bit more complex than that. Two clients negotiate which version to use when they connect; a few dozen versions numbers exist. It's not very useful to know what the latest protocol is without knowing what it entails. And I looked here: github.com/bitcoin/bitcoin/blob/v0.8.5/src/version.h#L28 – Pieter Wuille Oct 1 '13 at 23:44
  • 1
    Thanks for the help. I assumed the [en.bitcoin.it/wiki/Protocol_specification](Protocol specification) wiki page was designed to tell you what the protocol entails. – Dan Oct 2 '13 at 12:29
1

There's now a good overview at https://bitcoin.org/en/developer-reference#protocol-versions. The latest as of March 2014 is 70002.

0

The latest protocol version can be found by looking at the latest canonical Bitcoin client implementation source code currently v0.8.5 at https://github.com/bitcoin/bitcoin/blob/v0.8.5/src/version.h#L28. This should tally with what is described at https://en.bitcoin.it/wiki/Protocol_specification.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.