-
Notifications
You must be signed in to change notification settings - Fork 38.7k
doc: corrected lockunspent rpc quoting #31275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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 ConflictsNo conflicts as of last run. |
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
rkrux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crACK 7e93e29
Can update the PR title now that more RPCs are updated.
|
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. |
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: