Skip to content
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

Curl examples missing in RPC help text for commands added with zendoo #460

Open
cronicc opened this issue Jul 13, 2022 · 0 comments
Open

Comments

@cronicc
Copy link
Member

cronicc commented Jul 13, 2022

All of the zen-cli help $command messages should include examples for zen-cli as well as for curl.

Compare e.g.

$zen-cli help getrawtransaction
[...]
Examples:
> zen-cli getrawtransaction "mytxid"
> zen-cli getrawtransaction "mytxid" 1
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8231/

with

$zen-cli help getscinfo
[...]
Examples
> zen-cli getscinfo "1a3e7ccbfd40c4e2304c3215f76d204e4de63c578ad835510f580d529516a874"
> zen-cli getscinfo "*" true false 2 10
> zen-cli getscinfo "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant