mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02: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:
parent
c7a5c46e6f
commit
9162a4f93e
3 changed files with 6 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue