|
|
|
@ -70,9 +70,8 @@ static BlockAssembler::Options DefaultOptions()
|
|
|
|
|
// If -blockmaxweight is not given, limit to DEFAULT_BLOCK_MAX_WEIGHT
|
|
|
|
|
BlockAssembler::Options options;
|
|
|
|
|
options.nBlockMaxWeight = gArgs.GetArg("-blockmaxweight", DEFAULT_BLOCK_MAX_WEIGHT);
|
|
|
|
|
if (gArgs.IsArgSet("-blockmintxfee")) {
|
|
|
|
|
CAmount n = 0;
|
|
|
|
|
ParseMoney(gArgs.GetArg("-blockmintxfee", ""), n);
|
|
|
|
|
CAmount n = 0;
|
|
|
|
|
if (gArgs.IsArgSet("-blockmintxfee") && ParseMoney(gArgs.GetArg("-blockmintxfee", ""), n)) {
|
|
|
|
|
options.blockMinFeeRate = CFeeRate(n);
|
|
|
|
|
} else {
|
|
|
|
|
options.blockMinFeeRate = CFeeRate(DEFAULT_BLOCK_MIN_TX_FEE);
|
|
|
|
|