Browse Source

Remove nBlockMaxSize from miner opt struct as it is no longer used.

0.16
Gregory Maxwell 7 years ago
parent
commit
22fd04beb9
  1. 1
      src/miner.h
  2. 1
      src/test/miner_tests.cpp

1
src/miner.h

@ -158,7 +158,6 @@ public: @@ -158,7 +158,6 @@ public:
struct Options {
Options();
size_t nBlockMaxWeight;
size_t nBlockMaxSize;
CFeeRate blockMinFeeRate;
};

1
src/test/miner_tests.cpp

@ -32,7 +32,6 @@ static BlockAssembler AssemblerForTest(const CChainParams& params) { @@ -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);
}

Loading…
Cancel
Save