From 68d1a5ce089d3b7f8666a471038b106a202953dc Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 20 Sep 2014 23:59:54 -0500 Subject: [PATCH] Make debug downloading a bit faster. --- libethereum/CommonNet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libethereum/CommonNet.h b/libethereum/CommonNet.h index 4fdfa77a0..c53b644e4 100644 --- a/libethereum/CommonNet.h +++ b/libethereum/CommonNet.h @@ -34,10 +34,10 @@ namespace eth { #if ETH_DEBUG -static const unsigned c_maxHashes = 4; ///< Maximum number of hashes BlockHashes will ever send. -static const unsigned c_maxHashesAsk = 4; ///< Maximum number of hashes GetBlockHashes will ever ask for. -static const unsigned c_maxBlocks = 2; ///< Maximum number of blocks Blocks will ever send. -static const unsigned c_maxBlocksAsk = 2; ///< Maximum number of blocks we ask to receive in Blocks (when using GetChain). +static const unsigned c_maxHashes = 64; ///< Maximum number of hashes BlockHashes will ever send. +static const unsigned c_maxHashesAsk = 64; ///< Maximum number of hashes GetBlockHashes will ever ask for. +static const unsigned c_maxBlocks = 32; ///< Maximum number of blocks Blocks will ever send. +static const unsigned c_maxBlocksAsk = 32; ///< Maximum number of blocks we ask to receive in Blocks (when using GetChain). #else static const unsigned c_maxHashes = 256; ///< Maximum number of hashes BlockHashes will ever send. static const unsigned c_maxHashesAsk = 256; ///< Maximum number of hashes GetBlockHashes will ever ask for.