change max block size as well

This commit is contained in:
Miguel Freitas 2014-01-09 21:50:28 -02:00
parent 394333a8bb
commit 58d905aab3

View File

@ -25,7 +25,7 @@ class CNode;
struct CBlockIndexWorkComparator;
/** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE = 50000;
/** The maximum size for mined blocks */
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
/** The maximum size for transactions we're willing to relay/mine */