From f463cd107361a172a17e4c5510b06eb8a67aade0 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Thu, 28 Mar 2019 13:15:47 -0400 Subject: [wallet] Keep track of the best block time in the wallet Move nTimeBestReceived (which is only used for wallet rebroadcasts) into the wallet. --- src/validationinterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/validationinterface.h') diff --git a/src/validationinterface.h b/src/validationinterface.h index f0374e8e78..0d5bdd60fb 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -135,7 +135,7 @@ protected: */ virtual void ChainStateFlushed(const CBlockLocator &locator) {} /** Tells listeners to broadcast their data. */ - virtual void ResendWalletTransactions(int64_t nBestBlockTime, CConnman* connman) {} + virtual void ResendWalletTransactions(CConnman* connman) {} /** * Notifies listeners of a block validation result. * If the provided CValidationState IsValid, the provided block @@ -184,7 +184,7 @@ public: void BlockConnected(const std::shared_ptr &, const CBlockIndex *pindex, const std::shared_ptr> &); void BlockDisconnected(const std::shared_ptr &); void ChainStateFlushed(const CBlockLocator &); - void Broadcast(int64_t nBestBlockTime, CConnman* connman); + void Broadcast(CConnman* connman); void BlockChecked(const CBlock&, const CValidationState&); void NewPoWValidBlock(const CBlockIndex *, const std::shared_ptr&); }; -- cgit v1.2.3