|
|
@ -38,9 +38,9 @@ namespace eth |
|
|
|
|
|
|
|
#if ETH_DEBUG |
|
|
|
static const unsigned c_maxHashes = 2048; ///< Maximum number of hashes BlockHashes will ever send.
|
|
|
|
static const unsigned c_maxHashesAsk = 256; ///< Maximum number of hashes GetBlockHashes will ever ask for.
|
|
|
|
static const unsigned c_maxHashesAsk = 2048; ///< Maximum number of hashes GetBlockHashes will ever ask for.
|
|
|
|
static const unsigned c_maxBlocks = 128; ///< Maximum number of blocks Blocks will ever send.
|
|
|
|
static const unsigned c_maxBlocksAsk = 8; ///< Maximum number of blocks we ask to receive in Blocks (when using GetChain).
|
|
|
|
static const unsigned c_maxBlocksAsk = 128; ///< Maximum number of blocks we ask to receive in Blocks (when using GetChain).
|
|
|
|
static const unsigned c_maxPayload = 262144; ///< Maximum size of packet for us to send.
|
|
|
|
#else |
|
|
|
static const unsigned c_maxHashes = 2048; ///< Maximum number of hashes BlockHashes will ever send.
|
|
|
|