diff options
author | John Newbery <john@johnnewbery.com> | 2019-03-20 17:46:38 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-04-09 10:38:13 -0400 |
commit | 52b760fc6a9b26e405a0553ee8285b0f03ca1604 (patch) | |
tree | a4feae27b0681222a2f2b32e20a307ce089f4cbd /src/interfaces/chain.h | |
parent | f463cd107361a172a17e4c5510b06eb8a67aade0 (diff) |
[wallet] Schedule tx rebroadcasts in wallet
Removes the now-unused Broadcast/ResendWalletTransactions interface from
validationinterface.
The wallet_resendwallettransactions.py needs a sleep added at the start
to make sure that the rebroadcast scheduler is warmed up before the next
block is mined.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r-- | src/interfaces/chain.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 82e2c7eb23..4e0ef49f6c 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -223,6 +223,9 @@ public: //! Check if p2p enabled. virtual bool p2pEnabled() = 0; + //! Check if the node is ready to broadcast transactions. + virtual bool isReadyToBroadcast() = 0; + //! Check if in IBD. virtual bool isInitialBlockDownload() = 0; @@ -258,7 +261,6 @@ public: virtual void BlockDisconnected(const CBlock& block) {} virtual void UpdatedBlockTip() {} virtual void ChainStateFlushed(const CBlockLocator& locator) {} - virtual void ResendWalletTransactions(Lock& locked_chain) {} }; //! Register handler for notifications. |