aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-11-04 19:25:46 -0500
committerCarl Dong <contact@carldong.me>2021-03-08 15:54:31 -0500
commitd0de61b764fc7e9c670b69d8210705da296dd245 (patch)
treef77ba3e226caf128dd2cf2a826d87c6ce812376e /src/miner.h
parenta04aac493fd564894166d58ed4cdfd9ad4f561cb (diff)
miner: Pass in chainstate to BlockAssembler::CreateNewBlock
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h
index 9a2b7063f4..95f267e491 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -159,6 +159,7 @@ public:
/** Construct a new block template with coinbase to scriptPubKeyIn */
std::unique_ptr<CBlockTemplate> CreateNewBlock(const CScript& scriptPubKeyIn);
+ std::unique_ptr<CBlockTemplate> CreateNewBlock(CChainState& chainstate, const CScript& scriptPubKeyIn);
static Optional<int64_t> m_last_block_num_txs;
static Optional<int64_t> m_last_block_weight;