Page MenuHomePhabricator

rcp: update validateaddress RPCExamples to CashAddr
ClosedPublic

Authored by PiRK on Sat, Oct 17, 15:16.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC722197810026: rcp: update validateaddress RPCExamples to CashAddr
Summary

This is a backport of a PR that factors out an address used as an example in the help of RPC commands, and uses a CashAddr instead of a legacy address. The original PR uses an invalid address, but IMO it is more useful to have the documentation of a command provide an example that works, so I used the correct address just converted from legacy to CashAddr.

Backport of Core PR18122

Test Plan

ninja && ninja check

bitcoin-cli help getaddressinfo
bitcoin-cli help validateaddress

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.