Refactor CreateNewBlock to be a method of the BlockAssembler class

This commit is contained in:
lateminer
2018-10-23 01:15:28 +03:00
parent 635495ba38
commit 74cf4b83e5
8 changed files with 646 additions and 246 deletions

View File

@@ -12,7 +12,6 @@ static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
static const int COINBASE_MATURITY = 500;
/** Kernel input must have this number of confirmations (network rule) */
static const int STAKE_MIN_CONFIRMATIONS = 500;