Increase block size to 2MB and update performance test.

This commit is contained in:
Sean Bowe 2016-07-07 16:53:16 -06:00
parent 89a9e46cc9
commit 000383c193
2 changed files with 2 additions and 2 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 = 1000000;
static const unsigned int MAX_BLOCK_SIZE = 2000000;
/** 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) */

View File

@ -135,7 +135,7 @@ double benchmark_verify_equihash()
double benchmark_large_tx()
{
// Number of inputs in the spending transaction that we will simulate
const size_t NUM_INPUTS = 5550;
const size_t NUM_INPUTS = 11100;
// Create priv/pub key
CKey priv;