|
|
@ -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.
|
|
|
|