Browse Source

Increased MAX_BLOCK_WEIGHT from 4000000 to 6000000.

cn
Jianping Wu 6 years ago
parent
commit
f7a73a4f32
  1. 4
      src/consensus/consensus.h

4
src/consensus/consensus.h

@ -10,9 +10,9 @@ @@ -10,9 +10,9 @@
#include <stdint.h>
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000;
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 6000000;
/** The maximum allowed weight for a block, see BIP 141 (network rule) */
static const unsigned int MAX_BLOCK_WEIGHT = 4000000;
static const unsigned int MAX_BLOCK_WEIGHT = 6000000;
/** The maximum allowed number of signature check operations in a block (network rule) */
static const int64_t MAX_BLOCK_SIGOPS_COST = 80000;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */

Loading…
Cancel
Save