Page MenuHomePhabricator

Deprecate the address_type field of the getnewaddress RPC
ClosedPublic

Authored by Fabien on Mon, Nov 4, 09:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC346ecaef2c58: Deprecate the address_type field of the getnewaddress RPC
Summary

And clarify the documentation. This field is very misleading as it does exactly nothing in our codebase and is only a bitcoin compatibility field.
Since it's an optional parameter there is no need to create a -deprecated_rpc option here.

Depends on D17066.

Test Plan
bitcoin-cli help getnewaddress

Diff Detail

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