From 50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 27 Apr 2018 14:01:02 -0400 Subject: 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- --- src/index/txindex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index/txindex.h') diff --git a/src/index/txindex.h b/src/index/txindex.h index ac746de05b..4937bd64e9 100644 --- a/src/index/txindex.h +++ b/src/index/txindex.h @@ -55,7 +55,7 @@ protected: void BlockConnected(const std::shared_ptr& block, const CBlockIndex* pindex, const std::vector& txn_conflicted) override; - void SetBestChain(const CBlockLocator& locator) override; + void ChainStateFlushed(const CBlockLocator& locator) override; public: /// Constructs the TxIndex, which becomes available to be queried. -- cgit v1.2.3