From 21ef9b85616ffde20f736a3bdabc2b8cd20df56f Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 10 Feb 2014 00:08:03 +0000 Subject: [PATCH] Protocol version 3. --- libethereum/PeerNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/PeerNetwork.cpp b/libethereum/PeerNetwork.cpp index 34858d1e5..59f855798 100644 --- a/libethereum/PeerNetwork.cpp +++ b/libethereum/PeerNetwork.cpp @@ -43,7 +43,7 @@ using namespace eth; #define clogS(X) eth::LogOutputStream(false) << "| " << std::setw(2) << m_socket.native_handle() << "] " -static const int c_protocolVersion = 2; +static const int c_protocolVersion = 3; static const eth::uint c_maxHashes = 256; ///< Maximum number of hashes GetChain will ever send. static const eth::uint c_maxBlocks = 128; ///< Maximum number of blocks Blocks will ever send. BUG: if this gets too big (e.g. 2048) stuff starts going wrong.