[wallet] Keep track of the best block time in the wallet

Move nTimeBestReceived (which is only used for wallet
rebroadcasts) into the wallet.
This commit is contained in:
John Newbery
2019-03-28 13:15:47 -04:00
parent f3ecf3025f
commit f463cd1073
7 changed files with 26 additions and 18 deletions

View File

@@ -256,8 +256,9 @@ public:
virtual void TransactionRemovedFromMempool(const CTransactionRef& ptx) {}
virtual void BlockConnected(const CBlock& block, const std::vector<CTransactionRef>& tx_conflicted) {}
virtual void BlockDisconnected(const CBlock& block) {}
virtual void UpdatedBlockTip() {}
virtual void ChainStateFlushed(const CBlockLocator& locator) {}
virtual void ResendWalletTransactions(Lock& locked_chain, int64_t best_block_time) {}
virtual void ResendWalletTransactions(Lock& locked_chain) {}
};
//! Register handler for notifications.