aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
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/net_processing.cpp
parentf463cd107361a172a17e4c5510b06eb8a67aade0 (diff)
downloadbitcoin-52b760fc6a9b26e405a0553ee8285b0f03ca1604.tar.xz
[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/net_processing.cpp')
-rw-r--r--src/net_processing.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 3fd3068fbd..044fcc90cd 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -3546,14 +3546,6 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
}
}
- // Resend wallet transactions that haven't gotten in a block yet
- // Except during reindex, importing and IBD, when old wallet
- // transactions become unconfirmed and spams other nodes.
- if (!fReindex && !fImporting && !IsInitialBlockDownload())
- {
- GetMainSignals().Broadcast(connman);
- }
-
//
// Try sending block announcements via headers
//