From 93e447b631440aee505a7c884a59c0885f9d968c Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 11 Apr 2012 12:38:03 -0400 Subject: 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. --- src/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/version.h') diff --git a/src/version.h b/src/version.h index c93b28fb7d..e0e216aad4 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 -- cgit v1.2.3