aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-10-19 18:17:01 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2014-10-20 10:59:12 -0700
commita96d113962b92b550a04d6ab0f580d29401039da (patch)
treea4f204b5087e8aee6ee1565756a0e16c6aa4c993 /src/init.cpp
parent84d13eef883769451ba9f77b56d9738d24474d5c (diff)
downloadbitcoin-a96d113962b92b550a04d6ab0f580d29401039da.tar.xz
Rename CWalletInterface to CValidationInterface
It's useful for much more than wallets.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 55991ac9b3..273c21f12f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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))