From b11aff66cd07c61de3e3db35f586df0e06145804 Mon Sep 17 00:00:00 2001 From: instagibbs Date: Mon, 7 Nov 2016 11:10:16 -0500 Subject: [PATCH] Create max size/weight blocks by default --- src/policy/policy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/policy/policy.h b/src/policy/policy.h index 12c853ef93..baf20b39dc 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -15,11 +15,11 @@ class CCoinsViewCache; /** Default for -blockmaxsize, which controls the maximum size of block the mining code will create **/ -static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 750000; +static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 1000000; /** Default for -blockprioritysize, maximum space for zero/low-fee transactions **/ static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 0; /** Default for -blockmaxweight, which controls the range of block weights the mining code will create **/ -static const unsigned int DEFAULT_BLOCK_MAX_WEIGHT = 3000000; +static const unsigned int DEFAULT_BLOCK_MAX_WEIGHT = 4000000; /** Default for -blockmintxfee, which sets the minimum feerate for a transaction in blocks created by mining code **/ static const unsigned int DEFAULT_BLOCK_MIN_TX_FEE = 1000; /** The maximum weight for transactions we're willing to relay/mine */