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