aboutsummaryrefslogtreecommitdiff
path: root/src/version.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-07-31 17:42:35 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-07-31 17:42:35 -0400
commit05a85b2b38d516a8701f684fcd2ab99f3e5b462d (patch)
tree6d03e0f22dd6c299e2a11e8ad0e8b1daa5d1c1f8 /src/version.h
parent3c83387c298b6462b176fe6f335502770007f192 (diff)
Add 'mempool' P2P command, and extend 'getdata' behavior
to permit downloading of mempool transactions from the remote peer.
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/version.h b/src/version.h
index c0d53e8b91..9d2fa6bbc8 100644
--- a/src/version.h
+++ b/src/version.h
@@ -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