aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-03-28 13:15:47 -0400
committerJohn Newbery <john@johnnewbery.com>2019-04-09 10:37:49 -0400
commitf463cd107361a172a17e4c5510b06eb8a67aade0 (patch)
tree713da4c32558cf5acbc57a2805895482a3322a90 /src/validationinterface.h
parentf3ecf3025f82f84d42ec463990ff787647cc7bf5 (diff)
downloadbitcoin-f463cd107361a172a17e4c5510b06eb8a67aade0.tar.xz
[wallet] Keep track of the best block time in the wallet
Move nTimeBestReceived (which is only used for wallet rebroadcasts) into the wallet.
Diffstat (limited to 'src/validationinterface.h')
-rw-r--r--src/validationinterface.h4
1 files changed, 2 insertions, 2 deletions
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 CBlock> &, const CBlockIndex *pindex, const std::shared_ptr<const std::vector<CTransactionRef>> &);
void BlockDisconnected(const std::shared_ptr<const CBlock> &);
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<const CBlock>&);
};