diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2022-06-01 19:10:10 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2022-06-02 15:18:09 +0000 |
commit | a4741bd8d4b90b451d982d98eabd0dc5572baa29 (patch) | |
tree | 5f92d4bb4d9a8423bd679a2dcd8a62cb012f931a /src/node/blockstorage.h | |
parent | 1c7ef0abd11f35a27cc860ceb7e075b78f53cecf (diff) | |
download | bitcoin-a4741bd8d4b90b451d982d98eabd0dc5572baa29.tar.xz |
kernel: pass params to BlockManager rather than using a global
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r-- | src/node/blockstorage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h index 488713dbd8..2e52716649 100644 --- a/src/node/blockstorage.h +++ b/src/node/blockstorage.h @@ -153,7 +153,7 @@ public: std::unique_ptr<CBlockTreeDB> m_block_tree_db GUARDED_BY(::cs_main); bool WriteBlockIndexDB() EXCLUSIVE_LOCKS_REQUIRED(::cs_main); - bool LoadBlockIndexDB() EXCLUSIVE_LOCKS_REQUIRED(::cs_main); + bool LoadBlockIndexDB(const Consensus::Params& consensus_params) EXCLUSIVE_LOCKS_REQUIRED(::cs_main); CBlockIndex* AddToBlockIndex(const CBlockHeader& block, CBlockIndex*& best_header) EXCLUSIVE_LOCKS_REQUIRED(cs_main); /** Create a new block index entry for a given block hash */ |