refactor: rename active_chainstate in VerifyDB

To prepare VerifyDB semantics for multiple
chainstate use.
This commit is contained in:
James O'Beirne
2021-04-13 09:57:20 -04:00
parent 66fd3b28e8
commit 7901647d72
4 changed files with 30 additions and 19 deletions

View File

@@ -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