Increase default block priority size to 20% of blocksize

This commit is contained in:
Gregory Sanders 2017-01-24 15:13:19 -05:00
parent 5f3680bba2
commit b47245766c

View file

@ -17,7 +17,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 = 1000000;
/** Default for -blockprioritysize, maximum space for zero/low-fee transactions **/
static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 0;
static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = DEFAULT_BLOCK_MAX_SIZE/5;
/** Default for -blockmaxweight, which controls the range of block weights the mining code will create **/
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 **/