Make validatelargetx test more accurate, reduce block size limit to 1MB for now.

This commit is contained in:
Sean Bowe
2016-07-06 12:07:50 -06:00
parent 2ba9641767
commit 9c45b501ad
5 changed files with 51 additions and 170 deletions

View File

@@ -7,7 +7,7 @@
#define BITCOIN_CONSENSUS_CONSENSUS_H
/** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 2000000;
static const unsigned int MAX_BLOCK_SIZE = 1000000;
/** The maximum allowed number of signature check operations in a block (network rule) */
static const unsigned int MAX_BLOCK_SIGOPS = 20000;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */