Repository navigation
Remove resendwallettransactions RPC method - #15680
Conversation
maflcko
left a comment
There was a problem hiding this comment.
Concept ACK
I wasn't aware that this was a hidden RPC.
Good to finally remove this privacy-footgun
|
Should deprecate first? Or that doesn't apply to hidden RPC? |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
f81c814 to
5e7c32b
Compare
This RPC isn't part of the public API so I don't think it needs deprecation. We could raise a JSON RPC exception telling users that transactions are rebroadcast automatically and that they just need to wait. The feature_pruning.py test was failing with this PR. I got bored of debugging a failing test case that took 30 minutes to run, so I resurrected #10591 here: #15686. That commit removes the |
5e7c32b to
720952a
Compare
|
This now depends on #15686. Please review that first. |
Then I think it's fine to just remove it. |
720952a to
cc6401b
Compare
|
Rebased on master and removed the [WIP] tag. |
|
This RPC was added for testing wallet rebroadcasts. Since we now have a real test for wallet rebroadcasts, it's no longer needed. The call in wallet_basic.py can be removed because wallet_resendwallettransactions.py tests wallet rebroadcast.
e278e9c to
a076720
Compare
a076720 to
f9b34f7
Compare
maflcko
left a comment
There was a problem hiding this comment.
utACK f9b34f7cc2232dfd776885e20230ff3c660c2f7d
There was a problem hiding this comment.
I'd prefer if new code was properly clang-formatted
This is only called from ResendWalletTransactions(), so bring it inline.
|
utACK if you make @MarcoFalke happy. |
f9b34f7 to
ea1a2d8
Compare
|
re-utACK ea1a2d8 Only whitespace changes since my previous review |
|
utACK ea1a2d8. |
ea1a2d8 [wallet] Remove ResendWalletTransactionsBefore (John Newbery) f516245 [rpc] remove resendwallettransactions RPC (John Newbery) Pull request description: Remove resendwallettransactions RPC method This RPC was added for testing wallet rebroadcasts. Since we now have a real test for wallet rebroadcasts, it's no longer needed. The call in wallet_basic.py can be removed because wallet_resendwallettransactions.py tests wallet rebroadcast. ACKs for commit ea1a2d: MarcoFalke: re-utACK ea1a2d8 promag: utACK ea1a2d8. Tree-SHA512: 48245d947be1a2d2b8c30d2946105818c454a03b70b63534ecadf2144da64dafe1c9527ea670a5f4d1acd05ccdfc6c9be43ca636ee2ba58a8b7a7b2fc7bc88fd
Summary: This RPC was added for testing wallet rebroadcasts. Since we now have a real test for wallet rebroadcasts, it's no longer needed. The call in wallet_basic.py can be removed because wallet_resendwallettransactions.py tests wallet rebroadcast. bitcoin/bitcoin@f516245 --- This is a partial backport of Core [[bitcoin/bitcoin#15680 | PR15680]] Test Plan: ninja check ./test_runner.py wallet_basic Reviewers: #bitcoin_abc, jasonbcox Reviewed By: #bitcoin_abc, jasonbcox Differential Revision: https://reviews.bitcoinabc.org/D5951
Summary: This is only called from ResendWalletTransactions(), so bring it inline. bitcoin/bitcoin@ea1a2d8 --- Depends on D5951 This completes the backport of Core [[bitcoin/bitcoin#15680 | PR15680]] Test Plan: ninja check check-functional Reviewers: #bitcoin_abc, jasonbcox, deadalnix Reviewed By: #bitcoin_abc, jasonbcox, deadalnix Subscribers: jasonbcox Differential Revision: https://reviews.bitcoinabc.org/D5952

Remove resendwallettransactions RPC method
This RPC was added for testing wallet rebroadcasts. Since we now have a real test for wallet rebroadcasts, it's no longer needed.
The call in wallet_basic.py can be removed because wallet_resendwallettransactions.py tests wallet rebroadcast.