HomePhabricator

Generate RPC docs using regtest

Description

Generate RPC docs using regtest

Summary:
Using a mainnet bitcoind node to generate RPC docs is unnecessary,
especially since we plan to generate these docs on CI. ninja doc-rpc should
use regtest by default.

This patch adds support for passing arbitrary params to generate.go and uses it.

Test Plan:

bitcoind -regtest
ninja doc-rpc

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
jasonbcoxAuthored on Jul 18 2020, 01:16
jasonbcoxPushed on Jul 20 2020, 15:59
Reviewer
Restricted Project
Differential Revision
D6971: Generate RPC docs using regtest
Parents
rABC7f8bce5c2cd3: [lint] update Avalanche change to circular dep status
Branches
Unknown
Tags
Unknown