aboutsummaryrefslogtreecommitdiff
path: root/src/node/chainstate.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-08-16 17:03:33 -0400
committerCarl Dong <contact@carldong.me>2021-12-06 15:56:55 -0500
commitc7a5c46e6fd6d6ff46ca7a65fc3f0fff3cbdb24e (patch)
treebf2095cf76e1e7f1677395f71c18d6feea62d922 /src/node/chainstate.h
parentae9121f958a4124ea6238cad0c3f2acb8b9eb4bb (diff)
downloadbitcoin-c7a5c46e6fd6d6ff46ca7a65fc3f0fff3cbdb24e.tar.xz
node/chainstate: Decouple from ArgsManager
...instead pass in only the necessary information
Diffstat (limited to 'src/node/chainstate.h')
-rw-r--r--src/node/chainstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node/chainstate.h b/src/node/chainstate.h
index 921b8d89e5..87aad23e27 100644
--- a/src/node/chainstate.h
+++ b/src/node/chainstate.h
@@ -8,7 +8,6 @@
#include <cstdint> // for int64_t
#include <optional> // for std::optional
-class ArgsManager;
class CChainParams;
class ChainstateManager;
struct NodeContext;
@@ -59,10 +58,11 @@ std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
NodeContext& node,
bool fPruneMode,
const CChainParams& chainparams,
- const ArgsManager& args,
bool fReindexChainState,
int64_t nBlockTreeDBCache,
int64_t nCoinDBCache,
- int64_t nCoinCacheUsage);
+ int64_t nCoinCacheUsage,
+ unsigned int check_blocks,
+ unsigned int check_level);
#endif // BITCOIN_NODE_CHAINSTATE_H