-
Notifications
You must be signed in to change notification settings - Fork 38.8k
rpc: Correctly name arguments #14720
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
Conversation
|
cc @ch4ot1c |
5385e4e to
fad8314
Compare
fad8314 to
fa0815c
Compare
|
utACK fa0815c |
|
Concept ACK Nice cleanup! |
|
Makes sense, though I guess the idea eventually would be to use the just-merged
Might make sense to split them out to a commit that goes in before the |
|
By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to |
|
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. |
ryanofsky
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.
utACK fa0815c
fa0815c rpc: Correctly name arguments (Jon Layton) Pull request description: Consistently use the same name to describe arguments in the documentation and add a test that uses the name. By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to `RPCHelpMan`. The tests should pass with or without the changes in `src`. Partly stolen from #14459 (More RPC help description fixes by ch4ot1c) Tree-SHA512: 1072992b1e93ac41006613523e54a0a8004f529fcb101eb9d74d91474abb0945a5a7539f249905151b904b87448f9efc0cacbd9e052fbe2ea9111e62f3e7249c
Summary: fa0815c300 rpc: Correctly name arguments (Jon Layton) Pull request description: Consistently use the same name to describe arguments in the documentation and add a test that uses the name. By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to `RPCHelpMan`. The tests should pass with or without the changes in `src`. Partly stolen from #14459 (More RPC help description fixes by ch4ot1c) Tree-SHA512: 1072992b1e93ac41006613523e54a0a8004f529fcb101eb9d74d91474abb0945a5a7539f249905151b904b87448f9efc0cacbd9e052fbe2ea9111e62f3e7249c Backport of Core [[bitcoin/bitcoin#14720 | PR14720]] bitcoin/bitcoin#14720 Test Plan: ninja check ninja check-functional ./bitcoind ./bitcoin-cli help waitforblockheight ./bitcoin-cli help getblockheader ./bitcoin-cli help pruneblockchain ./bitcoin-cli help getchaintxstats ./bitcoin-cli help scantxoutset ./bitcoin-cli help prioritisetransaction ./bitcoin-cli help getblocktemplate ./bitcoin-cli help addnode ./bitcoin-cli help disconnectnode ./bitcoin-cli help setban ./bitcoin-cli help setnetworkactive ./bitcoin-cli help uptime ./bitcoin-cli help importprunedfunds ./bitcoin-cli help importmulti ./bitcoin-cli help getbalance ./bitcoin-cli help listtransactions Verify help text ./bitcoin-cli uptime <anything> Verify this fails with error code -1 and then displays the help message. Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D5281
fa0815c rpc: Correctly name arguments (Jon Layton) Pull request description: Consistently use the same name to describe arguments in the documentation and add a test that uses the name. By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to `RPCHelpMan`. The tests should pass with or without the changes in `src`. Partly stolen from bitcoin#14459 (More RPC help description fixes by ch4ot1c) Tree-SHA512: 1072992b1e93ac41006613523e54a0a8004f529fcb101eb9d74d91474abb0945a5a7539f249905151b904b87448f9efc0cacbd9e052fbe2ea9111e62f3e7249c
Consistently use the same name to describe arguments in the documentation and add a test that uses the name.
By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to
RPCHelpMan.The tests should pass with or without the changes in
src.Partly stolen from #14459 (More RPC help description fixes by ch4ot1c)