diff options
Diffstat (limited to 'src/miner.h')
| -rw-r--r-- | src/miner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h index 8cdcf7133..a2d6b6b5f 100644 --- a/src/miner.h +++ b/src/miner.h @@ -132,10 +132,12 @@ private: // Configuration parameters for the block size bool fIncludeWitness; unsigned int nBlockMaxWeight; + bool fNeedSizeAccounting; CFeeRate blockMinFeeRate; // Information on the current status of the block uint64_t nBlockWeight; + uint64_t nBlockSize; uint64_t nBlockTx; uint64_t nBlockSigOpsCost; CAmount nFees; @@ -196,5 +198,6 @@ private: /** Modify the extranonce in a block */ void IncrementExtraNonce(CBlock* pblock, const CBlockIndex* pindexPrev, unsigned int& nExtraNonce); int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev); +bool ProcessBlockFound(const CBlock* pblock, const CChainParams& chainParams); #endif // BITCOIN_MINER_H |