mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 05:03:16 +01:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user