diff options
| author | Jeff Garzik <[email protected]> | 2012-04-11 12:38:03 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-12 12:11:56 -0400 |
| commit | 93e447b631440aee505a7c884a59c0885f9d968c (patch) | |
| tree | f181ad15e894d774e2a0a505bf3b8dbcc9594a63 /src/version.h | |
| parent | Fix OSX build errors. (diff) | |
| download | discoin-93e447b631440aee505a7c884a59c0885f9d968c.tar.xz discoin-93e447b631440aee505a7c884a59c0885f9d968c.zip | |
BIP 0031: pong message
Add a pong message that is sent in reply to a ping. It echoes back a nonce
field that is now added to the ping message. Send a nonce of zero in ping
messages.
Original author: Mike Hearn @ Google
Modified Mike's change to introduce a mild form of protocol documentation in
version.h.
Diffstat (limited to 'src/version.h')
| -rw-r--r-- | src/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/version.h b/src/version.h index c93b28fb7..e0e216aad 100644 --- a/src/version.h +++ b/src/version.h @@ -11,4 +11,7 @@ extern const std::string CLIENT_BUILD; extern const std::string CLIENT_DATE; extern const int CLIENT_VERSION; +// BIP 0031, pong message, is enabled for all versions AFTER this one +const int BIP0031_VERSION = 60000; + #endif |