Remove unused ResendWalletTransactions notification #10584
pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/noresend changing 4 files +0 −27-
ryanofsky commented at 10:40 pm on June 13, 2017: member
-
Remove unused ResendWalletTransactions notification b3643d9bdf
-
fanquake added the label Refactoring on Jun 14, 2017
-
fanquake added the label Wallet on Jun 14, 2017
-
sipa commented at 0:36 am on June 14, 2017: memberWe’re not rebroadcasting unconfirmed transactions anymore? :open_mouth:
-
gmaxwell commented at 4:06 am on June 14, 2017: contributorwtf and why are tests passing?
-
instagibbs commented at 4:24 am on June 14, 2017: memberThere’s no test for automatic rebroadcasting, AFAICT, only manual?
-
jonasschnelli commented at 6:17 am on June 14, 2017: contributor
IMO we still do re-broadcast old transactions: https://github.com/bitcoin/bitcoin/blob/master/src/net_processing.cpp#L2907
This PR does only remove the connection from the main signals to the validation interface (the wallet) while the PR does not remove the signal (and the emit of the signal) itself.
Seems NACKish to me.
I think we do rebroadcast fine. But we have no tests for it (except of the intentional rebroadcast via RPC call).
-
laanwj commented at 6:45 am on June 14, 2017: member
NACK.
This code is not unused.
ResendWalletTransactions
is connected tog_signals.Broadcast
Broadcast
is invoked from here: https://github.com/bitcoin/bitcoin/blob/master/src/net_processing.cpp#L2907
Better tests would be obviously welcome.
-
laanwj closed this on Jun 14, 2017
-
ryanofsky commented at 12:01 pm on June 14, 2017: memberOops, dumb mistake. The PR just didn’t delete the signal it was connecting to, which is why it compiled.
-
DrahtBot locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me