mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Rename CWalletInterface to CValidationInterface
It's useful for much more than wallets.
This commit is contained in:
@@ -170,7 +170,7 @@ void Shutdown()
|
||||
#ifndef WIN32
|
||||
boost::filesystem::remove(GetPidFile());
|
||||
#endif
|
||||
UnregisterAllWallets();
|
||||
UnregisterAllValidationInterfaces();
|
||||
#ifdef ENABLE_WALLET
|
||||
delete pwalletMain;
|
||||
pwalletMain = NULL;
|
||||
@@ -1154,7 +1154,7 @@ bool AppInit2(boost::thread_group& threadGroup)
|
||||
LogPrintf("%s", strErrors.str());
|
||||
LogPrintf(" wallet %15dms\n", GetTimeMillis() - nStart);
|
||||
|
||||
RegisterWallet(pwalletMain);
|
||||
RegisterValidationInterface(pwalletMain);
|
||||
|
||||
CBlockIndex *pindexRescan = chainActive.Tip();
|
||||
if (GetBoolArg("-rescan", false))
|
||||
|
||||
Reference in New Issue
Block a user