doc: corrected lockunspent rpc quoting#31275
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31275. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste 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. |
c1e2c48 to
70ae8ca
Compare
|
The same kind of quoting is used in multiple places in this file, so if it is incorrect / needs updating, all instances should be changed at the same time. |
|
Corrected additional RPC examples for gettxspendingprevout, createrawtransaction, signrawtransactionwithkey, addmultisigaddress & listunspent All relevant changes should be complete here |
luke-jr
left a comment
There was a problem hiding this comment.
Commit messages leave a bit to be desired, but the code and output looks correct
crACK 1f3f5c049b4080ecaf30604fd22d65aa0fc4af45
|
Please squash your commits. You can improve the commit message at the same time. i.e "doc: ...." |
Github-Pull: bitcoin#31275 Rebased-From: 70ae8ca8b7435a38416c4eb469b3cdad6fb87b4f
Github-Pull: bitcoin#31275 Rebased-From: 1f3f5c049b4080ecaf30604fd22d65aa0fc4af45
1f3f5c0 to
49ffbc6
Compare
Done! |
|
@Talej Can you rebase this? |
…n, signrawtransactionwithkey & listunspent rpc quoting
All done! |
|
Edit: Retracting ack, agree with #31275 (comment) |
|
I wanted to verify if all invocations of
I think this means we either need to:
|
|
Weak Concept NACK. Given how broken the examples are, I think we should fix them throughout and add testing to prevent regressions, or get rid of them entirely. |
|
🐙 This pull request conflicts with the target branch and needs rebase. |
bitcoin-cli help lockunspent RPC example shows:
Including quotes around the transactions argument. Using the RPC in this way fails:
This change corrects the documentation to remove the additional quotes so the example works as intended: