Skip to content

Commit 90ae3d8

Browse files
committed
doc: Add release notes for -deprecatedrpc=addresses and bitcoin-tx
1 parent 085b3a7 commit 90ae3d8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/release-notes.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,21 @@ Updated RPCs
6969
`whitelisted`, the `permissions` field indicates if the peer has special
7070
privileges. The `banscore` field has simply been removed. (#20755)
7171

72+
- The following RPCs: `gettxout`, `getrawtransaction`, `decoderawtransaction`,
73+
`decodescript`, `gettransaction`, and REST endpoints: `/rest/tx`,
74+
`/rest/getutxos`, `/rest/block` deprecated the following fields (which are no
75+
longer returned in the responses by default): `addresses`, `reqSigs`.
76+
The `-deprecatedrpc=addresses` flag must be passed for these fields to be
77+
included in the RPC response. This flag/option will be available until v23, at which
78+
point the deprecation will be removed entirely. Note that these fields are attributes of
79+
the `scriptPubKey` object returned in the RPC response. However, in the response
80+
of `decodescript` these fields are top-level attributes, and included again as attributes
81+
of the `scriptPubKey` object. (#20286)
82+
83+
- When creating a hex-encoded bitcoin transaction using the `bitcoin-tx` utility
84+
with the `-json` option set, the following fields: `addresses`, `reqSigs` are no longer
85+
returned in the tx output of the response. (#20286)
86+
7287
Changes to Wallet or GUI related RPCs can be found in the GUI or Wallet section below.
7388

7489
New RPCs

0 commit comments

Comments
 (0)