diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-17 12:14:37 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-17 12:16:42 -0400 |
commit | 244daa482151b5b9a8a145df0541880c8bdc03fc (patch) | |
tree | c19df511a4163efe49538c20e0bc83e2705b51d1 /ci | |
parent | 54f812d9d29893c690ae06b84aaeab128186aa36 (diff) | |
parent | fa168d754221a83cab0d2984a02c41cf6819e873 (diff) | |
download | bitcoin-244daa482151b5b9a8a145df0541880c8bdc03fc.tar.xz |
Merge #18607: rpc: Fix named arguments in documentation
fa168d754221a83cab0d2984a02c41cf6819e873 rpc: Document all aliases for first arg of listtransactions (MarcoFalke)
fa5b1f067fcf8bebb23455dd8a16cde5068e79cd rpc: Document all aliases for second arg of getblock (MarcoFalke)
fa86a4bbfc000593ae4ad9dcdaec3fd0c0406086 rpc: Rename first arg of generateblock RPC to "output" (MarcoFalke)
Pull request description:
This fixes a bug found with #18531:
* Currently the named argument for `generateblock` is documented as `address/descriptor`, but the server only accepts a named argument of `address`. Fix it by changing the name to `output` for both the documentation and the server code. Also, add tests to prove the server understands the new name `output`.
* Unrelated to that, there have been a bunch of aliases in the server code that are not present in the source code of the documentation. Fix that by adding the alias to the source code of the documentation. Only the first alias is displayed in the rendered documentation. Also, add tests to prove the server actually understands all aliases.
ACKs for top commit:
pierreN:
Tested ACK fa168d7 tests, help messages
Tree-SHA512: 05e15628e3a667b296f3783d20f764b450b959451b5360c7eaf5993156582d47a0f5882330ca2493b851eb46324d504953b90c875bc88a15c9e8c89eb3ef8d92
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions