Page MenuHomePhabricator

[backport#16239] wallet/rpc: use static help text
ClosedPublic

Authored by majcosta on Jun 9 2020, 18:24.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC14ba6321bfc8: [backport#16239] wallet/rpc: use static help text
Summary

Always show the same help topic regardless of wallet flags, and explain that something is not always available, rather than runtime-modifying the help output.

https://github.com/bitcoin/bitcoin/pull/16239/commits/3d2ff379131a01e4e9f9648b150e806104a23795


Partial backport of Core PR16239

Test Plan
ninja
./src/bitcoind -regtest -daemon
./src/bitcoin-cli -regtest help sendtoaddress
./src/bitcoin-cli -regtest help getbalance
./src/bitcoin-cli -regtest help listunspent

check help output looks spiffy

test_runner.py wallet_avoidreuse

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested review of this revision.Jun 9 2020, 18:24

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jun 10 2020, 06:52