You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bc01f7a doc: release note for rpc getaddressinfo removals (Jon Atack)
90e9893 rpc: getaddressinfo RPCResult fixup (Jon Atack)
a8507c9 rpc: remove deprecated getaddressinfo `labels: purpose` (Jon Atack)
645a865 rpc: remove deprecated getaddressinfo `label` field (Jon Atack)
Pull request description:
These were deprecated in #17578 and #17585, with expected 0.21 removal notified in the 0.20 release notes.
```
- The `getaddressinfo` RPC has had its `label` field deprecated
(re-enable for this release using the configuration parameter
`-deprecatedrpc=label`). The `labels` field is altered from returning
JSON objects to returning a JSON array of label names (re-enable
previous behavior for this release using the configuration parameter
`-deprecatedrpc=labelspurpose`). Backwards compatibility using the
deprecated configuration parameters is expected to be dropped in the
0.21 release. (#17585, #17578)
```
ACKs for top commit:
Sjors:
utACK bc01f7a
adamjonas:
utACK bc01f7a
meshcollider:
utACK bc01f7a
Tree-SHA512: ae1af381e32c4c3bde8b061a56382838513a9a82c88767843cdeae3a2ab8aa7d8c2e66e106d2b31ea07d74bb80c191a2f842c9aaecc7c5438ad9a9bc66d1b251
{RPCResult::Type::STR_HEX, "pubkey", /* optional */true, "The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH)."},
3632
3632
{RPCResult::Type::OBJ, "embedded", /* optional */true, "Information about the address embedded in P2SH or P2WSH, if relevant and known.",
3633
3633
{
3634
-
{RPCResult::Type::ELISION, "", "Includes all\n"
3635
-
" getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath,\n"
3636
-
"hdseedid) and relation to the wallet (ismine, iswatchonly)."},
3634
+
{RPCResult::Type::ELISION, "", "Includes all getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath, hdseedid)\n"
3635
+
"and relation to the wallet (ismine, iswatchonly)."},
3637
3636
}},
3638
3637
{RPCResult::Type::BOOL, "iscompressed", /* optional */true, "If the pubkey is compressed."},
3639
-
{RPCResult::Type::STR, "label", "DEPRECATED. The label associated with the address. Defaults to \"\". Replaced by the labels array below."},
3640
3638
{RPCResult::Type::NUM_TIME, "timestamp", /* optional */true, "The creation time of the key, if available, expressed in " + UNIX_EPOCH_TIME + "."},
3641
3639
{RPCResult::Type::STR, "hdkeypath", /* optional */true, "The HD keypath, if the key is HD and available."},
3642
3640
{RPCResult::Type::STR_HEX, "hdseedid", /* optional */true, "The Hash160 of the HD seed."},
3643
3641
{RPCResult::Type::STR_HEX, "hdmasterfingerprint", /* optional */true, "The fingerprint of the master key."},
3644
3642
{RPCResult::Type::ARR, "labels", "Array of labels associated with the address. Currently limited to one label but returned\n"
3645
3643
"as an array to keep the API stable if multiple labels are enabled in the future.",
3646
3644
{
3647
-
{RPCResult::Type::STR, "label name", "The label name. Defaults to \"\"."},
3648
-
{RPCResult::Type::OBJ, "", "label data, DEPRECATED, will be removed in 0.21. To re-enable, launch bitcoind with `-deprecatedrpc=labelspurpose`",
3649
-
{
3650
-
{RPCResult::Type::STR, "name", "The label name. Defaults to \"\"."},
3651
-
{RPCResult::Type::STR, "purpose", "The purpose of the associated address (send or receive)."},
3652
-
}},
3645
+
{RPCResult::Type::STR, "label name", "Label name (defaults to \"\")."},
0 commit comments