Adds salvage and zaptxs commands to bitcoin-wallet
[WIP] [tool] Add salvage and zaptxs commands to bitcoin-wallet #15307
pull jnewbery wants to merge 1 commits into bitcoin:master from jnewbery:wallet_tool_zaptxs_salvage changing 3 files +43 −0-
jnewbery commented at 10:33 PM on January 31, 2019: member
-
[tool] Add salvage and zaptxs commands to bitcoin-wallet 2aa3111082
-
jnewbery commented at 10:36 PM on January 31, 2019: member
As suggested here: #13926 (comment), the initial bitcoin-wallet PR stripped down the wallet tool to minimum functionality. This PR adds the
salvageandzaptxscommands back in.I haven't made any changes from the original PR, so @Sjors comment here: #13926 (comment) still isn't addressed. I plan to do that in future, but wanted to have a PR open in case others wanted to provide early concept feedback.
-
Sjors commented at 10:23 AM on February 1, 2019: member
Concept ACK. I suggest marking them deprecated in
bitcoindat the same time. -
DrahtBot commented at 8:53 PM on February 6, 2019: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #15358 (util: Add SetupHelpOptions() by MarcoFalke)
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.
-
jonasschnelli commented at 6:27 AM on February 7, 2019: contributor
Concept ACK. Is there a reason why this duplicates the functionality rather than directly move it?
-
ryanofsky commented at 3:50 PM on February 7, 2019: member
Curious why this is marked WIP. Would be good to clarify if you are still working on changes or are presently seeking review.
Is there a reason why this duplicates the functionality rather than directly move it?
I don't think it should hold up this PR, but I do have the same question, and personally would love to see a PR getting rid of the current duplication between
CreateWalletandcreatewallet,LoadWalletandloadwallet.I think it would be good to have a plan or at least a basic idea going forward of how to avoid duplicating functionality between the wallet and wallet tool. Making the wallet tool into a limited frontend for a subset RPC methods that work offline (suggested in #13926 (comment)) would be a good approach that would enable code sharing, and also decrease the likelihood of a garbagey command line parsing code getting added to wallet tool in the future. But other approaches are certainly possible.
-
MarcoFalke commented at 4:09 PM on February 7, 2019: member
This is critical functionality and I think unless there is at least a basic test, this is not ready for review.
-
jnewbery commented at 9:26 PM on February 7, 2019: member
Curious why this is marked WIP.
Sorry, a better tag would be work-not-in-progress. I'm not actively working on this and plan to pick it up later. I wanted to open the PR so people could give concept feedback. I'll also mark as 'Up For Grabs' if someone else wants to grab it with higher priority.
This isn't ready for merge for a couple of reasons:
- needs updating to address feedback here #13926 (comment)
- needs tests
I definitely agree with your concerns about code duplication and like your idea #13926 (comment).
- jnewbery added the label Up for grabs on Feb 7, 2019
-
DrahtBot commented at 3:12 PM on February 12, 2019: member
<!--cf906140f33d8803c4a75a2196329ecb-->Needs rebase
- DrahtBot added the label Needs rebase on Feb 12, 2019
- fanquake closed this on Jun 19, 2019
- laanwj removed the label Needs rebase on Oct 24, 2019
- fanquake removed the label Up for grabs on May 22, 2020
- DrahtBot locked this on Feb 15, 2022