6

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

asked Oct 1, 2013 at 16:35

3 Answers 3

6

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.

answered Oct 1, 2013 at 19:26
5
  • 1
    Thanks! How do you find this out? Is there a reason why it is not stated on the Protocol specification? Commented Oct 1, 2013 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 :) Commented Oct 1, 2013 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? Commented Oct 1, 2013 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 Commented Oct 1, 2013 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. Commented Oct 2, 2013 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.

answered May 27, 2015 at 17:59
1
  • This is actually out-dated. It's 70016 Commented Dec 17, 2021 at 2:16
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.

answered Oct 2, 2013 at 12:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.