HomePhabricator

util: HelpExampleRpc formatting fixup

Description

util: HelpExampleRpc formatting fixup

Summary:
to conform to json-rpc spec as per
https://www.jsonrpc.org/specification#examples

This is a backport of Core PR18316

Test Plan:
Look at the curl example in the help message of any rpc command
src/bitcoin-cli help getchaintips

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8831

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jan 7 2021, 17:30
PiRKCommitted on Jan 7 2021, 17:31
abc-botPushed on Jan 7 2021, 17:37
Reviewer
Restricted Project
Differential Revision
D8831: util: HelpExampleRpc formatting fixup
Parents
rABC0c6b8bbe8483: Remove redundant type information from rpc docs
Branches
Unknown
Tags
Unknown