diff options
| author | Matt Corallo <[email protected]> | 2018-04-27 14:01:02 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2018-04-27 14:44:22 -0400 |
| commit | 50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1 (patch) | |
| tree | 74bd0ba9d60d49940619ca47831f6d68dda0c4be /src/validationinterface.h | |
| parent | Merge #13090: Remove Safe mode (achow101) (diff) | |
| download | discoin-50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1.tar.xz discoin-50b6533aa2a9ccbc758aaf5a9f6dfa1c9433bff1.zip | |
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/validationinterface.h')
| -rw-r--r-- | src/validationinterface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h index 63097166a..6089bc2b3 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -101,7 +101,7 @@ protected: * * Called on a background thread. */ - virtual void SetBestChain(const CBlockLocator &locator) {} + virtual void ChainStateFlushed(const CBlockLocator &locator) {} /** * Notifies listeners about an inventory item being seen on the network. * @@ -157,7 +157,7 @@ public: void TransactionAddedToMempool(const CTransactionRef &); void BlockConnected(const std::shared_ptr<const CBlock> &, const CBlockIndex *pindex, const std::shared_ptr<const std::vector<CTransactionRef>> &); void BlockDisconnected(const std::shared_ptr<const CBlock> &); - void SetBestChain(const CBlockLocator &); + void ChainStateFlushed(const CBlockLocator &); void Inventory(const uint256 &); void Broadcast(int64_t nBestBlockTime, CConnman* connman); void BlockChecked(const CBlock&, const CValidationState&); |