aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-03-20 17:46:38 -0400
committerJohn Newbery <john@johnnewbery.com>2019-04-09 10:38:13 -0400
commit52b760fc6a9b26e405a0553ee8285b0f03ca1604 (patch)
treea4feae27b0681222a2f2b32e20a307ce089f4cbd /src/validationinterface.h
parentf463cd107361a172a17e4c5510b06eb8a67aade0 (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/validationinterface.h')
-rw-r--r--src/validationinterface.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h
index 0d5bdd60fb..78f3026a80 100644
--- a/src/validationinterface.h
+++ b/src/validationinterface.h
@@ -134,8 +134,6 @@ protected:
* Called on a background thread.
*/
virtual void ChainStateFlushed(const CBlockLocator &locator) {}
- /** Tells listeners to broadcast their data. */
- virtual void ResendWalletTransactions(CConnman* connman) {}
/**
* Notifies listeners of a block validation result.
* If the provided CValidationState IsValid, the provided block
@@ -184,7 +182,6 @@ 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(CConnman* connman);
void BlockChecked(const CBlock&, const CValidationState&);
void NewPoWValidBlock(const CBlockIndex *, const std::shared_ptr<const CBlock>&);
};