aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2016-06-30 11:41:13 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2016-06-30 11:41:13 -0400
commit27362dda4d583a43ebf687ae097d2f45ba1c4c32 (patch)
tree07ec4f2ba52830055a7ae572bec68d0e7016175c /src/miner.cpp
parentd2e46e1b5cf6c08829ec3bb2a923b4ba149ab3b7 (diff)
Remove -blockminsize option
Diffstat (limited to 'src/miner.cpp')
-rw-r--r--src/miner.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index eb71355e7a..8153fb9f9e 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -100,13 +100,8 @@ BlockAssembler::BlockAssembler(const CChainParams& _chainparams)
// Limit size to between 1K and MAX_BLOCK_SERIALIZED_SIZE-1K for sanity:
nBlockMaxSize = std::max((unsigned int)1000, std::min((unsigned int)(MAX_BLOCK_SERIALIZED_SIZE-1000), nBlockMaxSize));
- // Minimum block size you want to create; block will be filled with free transactions
- // until there are no more or the block reaches this size:
- nBlockMinSize = GetArg("-blockminsize", DEFAULT_BLOCK_MIN_SIZE);
- nBlockMinSize = std::min(nBlockMaxSize, nBlockMinSize);
-
// Whether we need to account for byte usage (in addition to cost usage)
- fNeedSizeAccounting = (nBlockMaxSize < MAX_BLOCK_SERIALIZED_SIZE-1000) || (nBlockMinSize > 0);
+ fNeedSizeAccounting = (nBlockMaxSize < MAX_BLOCK_SERIALIZED_SIZE-1000);
}
void BlockAssembler::resetBlock()