Consensus: Create consensus/consensus.h with some constants

This commit is contained in:
jtimon
2015-01-24 15:29:29 +01:00
committed by Jorge Timón
parent b6ea3bcede
commit 691161d419
12 changed files with 34 additions and 16 deletions

View File

@@ -10,9 +10,6 @@
#include "serialize.h"
#include "uint256.h"
/** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 1000000;
/** Nodes collect new transactions into a block, hash them into a hash tree,
* and scan through nonce values to make the block's hash satisfy proof-of-work
* requirements. When they solve the proof-of-work, they broadcast the block