Version Handshake

From Bitcoin Wiki
Revision as of 02:45, 16 February 2013 by Raphfrk (talk | contribs) (Created page with "On connect, version and verack messages are exchanged, in order to ensure compatibility between peers. ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

On connect, version and verack messages are exchanged, in order to ensure compatibility between peers.

Version Handshake

When the local peer (L) connects to a remote peer (R), the remote peer will not send any data until it receives a version message.

 L -> R: Send version message with the local peer's version
 R -> L: Send version message back
 R:      Sets version to the minimum of the 2 versions
 R -> L: Send verack message
 L:      Sets version to the minimum of the 2 versions

Note: A version number of 10300 is converted to 300 before being processed and versions below 209 are no longer supported.