Version Handshake: Difference between revisions
Jump to navigation
Jump to search
Created page with "On connect, version and verack messages are exchanged, in order to ensure compatibility between peers. ==..." |
Note: Versions below 31800 are no longer supported.( https://github.com/bitcoin/bitcoin/commit/5b52aa68584f6c5ea2f942db8f3a7c1feef2cf43 ) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
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. | 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 -> L: Send verack message | |||
R: Sets version to the minimum of the 2 versions | |||
L -> R: Send verack message after receiving version message from R | |||
L: Sets version to the minimum of the 2 versions | |||
Note: | Note: Versions below 31800 are no longer supported. |
Latest revision as of 15:44, 27 August 2018
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 -> L: Send verack message R: Sets version to the minimum of the 2 versions L -> R: Send verack message after receiving version message from R L: Sets version to the minimum of the 2 versions
Note: Versions below 31800 are no longer supported.