diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-07 10:59:50 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-07 10:59:15 +0200 |
commit | 6888886cecf6665da70b3dc3772b3c12ef06ad76 (patch) | |
tree | 8ebd6b5671f490826f68719b3b4b2260e816a716 /src/validation.h | |
parent | b7138252ace6d21476964774e094ed1143cd7a1c (diff) | |
download | bitcoin-6888886cecf6665da70b3dc3772b3c12ef06ad76.tar.xz |
Remove Chainstate::LoadMempool
The 3-line function is only called once outside of tests, so it is
clearer to inline it.
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/validation.h b/src/validation.h index d7ad86a5e8..4c9f807f5d 100644 --- a/src/validation.h +++ b/src/validation.h @@ -712,9 +712,6 @@ public: /** Find the last common block of this chain and a locator. */ const CBlockIndex* FindForkInGlobalIndex(const CBlockLocator& locator) const EXCLUSIVE_LOCKS_REQUIRED(cs_main); - /** Load the persisted mempool from disk */ - void LoadMempool(const fs::path& load_path, fsbridge::FopenFn mockable_fopen_function = fsbridge::fopen); - /** Update the chain tip based on database information, i.e. CoinsTip()'s best block. */ bool LoadChainTip() EXCLUSIVE_LOCKS_REQUIRED(cs_main); |