Bump default max block size from 750k to 2MB (#2023)

This commit is contained in:
Nathan Marley 2018-04-11 04:06:44 -07:00 committed by UdjinM6
parent 79183f6307
commit 27dfed424b

View File

@ -15,7 +15,7 @@
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 = 2000000;
/** Default for -blockprioritysize, maximum space for zero/low-fee transactions **/
static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 10000; // was 50000 in 0.12.0 and it is 0 in Bitcoin since 0.12
/** Default for -blockmintxfee, which sets the minimum feerate for a transaction in blocks created by mining code **/