From 862374115fc700dba6399658c0e20185e127cf71 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 10 May 2013 00:54:56 -0500 Subject: [PATCH] Bump the protocol version to 70001. As documented in the package overview, this package does not yet support BIP0037 which was the reason for this bump. --- protocol.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/protocol.go b/protocol.go index 7fe9f601..284a6692 100644 --- a/protocol.go +++ b/protocol.go @@ -12,7 +12,7 @@ import ( const ( MainPort = "8333" TestNetPort = "18333" - ProtocolVersion uint32 = 60002 + ProtocolVersion uint32 = 70001 TxVersion = 1 // MultipleAddressVersion is the protocol version which added multiple @@ -30,6 +30,11 @@ const ( // BIP0035Version is the protocol version which added the mempool // message (pver >= BIP0035Version). BIP0035Version uint32 = 60002 + + // BIP0037Version is the protocol version which added new connection + // bloom filtering related messages and extended the version message + // with a relay flag (pver >= BIP0037Version). + BIP0037Version uint32 = 70001 ) // ServiceFlag identifies services supported by a bitcoin peer.