mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
node/chainstate: Decouple from concept of NodeContext
...instead pass in only the necessary information Also allow mempool to be a nullptr
This commit is contained in:
@@ -1421,7 +1421,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
||||
const int64_t load_block_index_start_time = GetTimeMillis();
|
||||
auto rv = LoadChainstate(fReset,
|
||||
chainman,
|
||||
node,
|
||||
node.mempool.get(),
|
||||
fPruneMode,
|
||||
chainparams,
|
||||
fReindexChainState,
|
||||
|
||||
Reference in New Issue
Block a user