diff options
author | Matt Corallo <git@bluematt.me> | 2018-04-27 14:01:02 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2018-04-27 14:44:22 -0400 |
commit | 50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1 (patch) | |
tree | 74bd0ba9d60d49940619ca47831f6d68dda0c4be /src/wallet/wallet.h | |
parent | 17266a13067c061783e0428c6200985ed8872b16 (diff) | |
download | bitcoin-50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1.tar.xz |
scripted-diff: Rename SetBestChain callback ChainStateFlushed
This much more accurately captures the meaning of the callback.
-BEGIN VERIFY SCRIPT-
sed -i 's/SetBestChain/ChainStateFlushed/g' src/validationinterface.h src/validationinterface.cpp src/wallet/wallet.h src/wallet/wallet.cpp src/validation.cpp src/index/txindex.h src/index/txindex.cpp
-END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 780c82ac36..d24ae1186f 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1013,7 +1013,7 @@ public: bool IsAllFromMe(const CTransaction& tx, const isminefilter& filter) const; CAmount GetCredit(const CTransaction& tx, const isminefilter& filter) const; CAmount GetChange(const CTransaction& tx) const; - void SetBestChain(const CBlockLocator& loc) override; + void ChainStateFlushed(const CBlockLocator& loc) override; DBErrors LoadWallet(bool& fFirstRunRet); DBErrors ZapWalletTx(std::vector<CWalletTx>& vWtx); |