aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.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/interfaces/chain.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/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index d11a59241e..82e2c7eb23 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -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.