Page MenuHomePhabricator

Generate RPC docs using regtest
ClosedPublic

Authored by jasonbcox on Jul 18 2020, 01:21.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC98cd27974781: 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