diff options
author | Carl Dong <contact@carldong.me> | 2021-03-16 19:31:17 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-03-24 15:40:56 -0400 |
commit | 0c1b2bc549aec77b247f0103652d883227841ac5 (patch) | |
tree | 35922a16b08c6482dd13b7c10842c1a011ac63eb /src/miner.h | |
parent | ed49203daabb6550d44518792c30faad64bf9a9f (diff) |
Revert "miner: Remove old CreateNewBlock w/o chainstate param"
This reverts commit 2afcf24408b4453e4418ebfb326b141f6ea8647c.
Diffstat (limited to 'src/miner.h')
-rw-r--r-- | src/miner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h index 023635814c..06af570130 100644 --- a/src/miner.h +++ b/src/miner.h @@ -158,6 +158,7 @@ public: explicit BlockAssembler(const CTxMemPool& mempool, const CChainParams& params, const Options& options); /** 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); inline static std::optional<int64_t> m_last_block_num_txs{}; |