diff options
author | James O'Beirne <james.obeirne@pm.me> | 2021-04-13 09:57:20 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2021-04-23 15:02:35 -0400 |
commit | 7901647d722bcc5b0554ad73b14481cbe73608e4 (patch) | |
tree | b7c04b460bbc1cfe5f208c1e3672e7301d8af1a7 /src/validation.h | |
parent | 66fd3b28e85c167f3955b5603496daf8d91abcad (diff) |
refactor: rename active_chainstate in VerifyDB
To prepare VerifyDB semantics for multiple
chainstate use.
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index de121ab46a..b4e1c080fe 100644 --- a/src/validation.h +++ b/src/validation.h @@ -329,7 +329,12 @@ class CVerifyDB { public: CVerifyDB(); ~CVerifyDB(); - bool VerifyDB(const CChainParams& chainparams, CChainState& active_chainstate, CCoinsView *coinsview, int nCheckLevel, int nCheckDepth) EXCLUSIVE_LOCKS_REQUIRED(cs_main); + bool VerifyDB( + CChainState& chainstate, + const CChainParams& chainparams, + CCoinsView* coinsview, + int nCheckLevel, + int nCheckDepth) EXCLUSIVE_LOCKS_REQUIRED(cs_main); }; enum DisconnectResult |