aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2017-09-18 23:40:38 +0000
committerGregory Maxwell <greg@xiph.org>2017-09-18 23:40:38 +0000
commit22fd04beb9e7ee4c8576a2f43796200faa780938 (patch)
treeed3085c30755b9a7ef1733fe7f41c7a1d3037c2a /src
parent4ce2f3d0d33346e9f0e96851689ee6550b2a72e3 (diff)
downloadbitcoin-22fd04beb9e7ee4c8576a2f43796200faa780938.tar.xz
Remove nBlockMaxSize from miner opt struct as it is no longer used.
Diffstat (limited to 'src')
-rw-r--r--src/miner.h1
-rw-r--r--src/test/miner_tests.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/miner.h b/src/miner.h
index 683f4fe085..db165e71c6 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -158,7 +158,6 @@ public:
struct Options {
Options();
size_t nBlockMaxWeight;
- size_t nBlockMaxSize;
CFeeRate blockMinFeeRate;
};
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp
index 9fa9a8509c..41e0626eb9 100644
--- a/src/test/miner_tests.cpp
+++ b/src/test/miner_tests.cpp
@@ -32,7 +32,6 @@ static BlockAssembler AssemblerForTest(const CChainParams& params) {
BlockAssembler::Options options;
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
- options.nBlockMaxSize = MAX_BLOCK_SERIALIZED_SIZE;
options.blockMinFeeRate = blockMinFeeRate;
return BlockAssembler(params, options);
}