Merge pull request #1641 from jgarzik/mempool

Add 'mempool' P2P command, and extend 'getdata' behavior
This commit is contained in:
Jeff Garzik
2012-08-20 07:21:34 -07:00
3 changed files with 37 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ extern const std::string CLIENT_DATE;
// network protocol versioning
//
static const int PROTOCOL_VERSION = 60001;
static const int PROTOCOL_VERSION = 60002;
// earlier versions not supported as of Feb 2012, and are disconnected
static const int MIN_PROTO_VERSION = 209;
@@ -46,4 +46,7 @@ static const int NOBLKS_VERSION_END = 32400;
// BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;
// "mempool" command, enhanced "getdata" behavior starts with this version:
static const int MEMPOOL_GD_VERSION = 60002;
#endif