Extra Nuances to Node Handshake.

This commit is contained in:
Josh Green
2019-12-26 10:28:40 -05:00
committed by bitcoin
parent a44380478e
commit 6fa0896789
+6
View File
@@ -38,3 +38,9 @@ Remote->>Local: Verack
Local->>Remote: Verack Local->>Remote: Verack
Note Right of Remote: #35;4 Note Right of Remote: #35;4
``` ```
The Remote Node may send a `Verack` message before it sends its own `Version` messages.
A Node may only send a `Version` message once.
Although a Node may connect to itself, it is usually undesired. Nodes typically check for a connection to itself by checking if the `nonce` provided by a `Version` message is a nonce it has used recently.