From 000383c1938cc79f82b9794fa5702b54178d38c7 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Thu, 7 Jul 2016 16:53:16 -0600 Subject: [PATCH] Increase block size to 2MB and update performance test. --- src/consensus/consensus.h | 2 +- src/zcbenchmarks.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index 002d9ea61..e7f4e02f3 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -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) */ diff --git a/src/zcbenchmarks.cpp b/src/zcbenchmarks.cpp index dd8a91a06..5aac4bbc3 100644 --- a/src/zcbenchmarks.cpp +++ b/src/zcbenchmarks.cpp @@ -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;