Merge bitcoin/bitcoin#25925: doc: add {import,list}descriptors to list of descriptor RPCs

6242314ba8 doc: add `{import,list}descriptors` to list of descriptor RPCs (Sebastian Falbesoner)

Pull request description:

  This PR adds the missing RPCs `importlistdescriptors` ([since v0.21](1420547ec3/doc/release-notes/release-notes-0.21.0.md (L405))) and `listdescriptors` ([since v22](1420547ec3/doc/release-notes/release-notes-22.0.md (L175))) to the list of RPCs supporting descriptors in descriptors.md. Also changes the description of `importmulti` slightly to point out that it only works for legacy wallets.

ACKs for top commit:
  S3RK:
    ACK 6242314ba8
  achow101:
    ACK 6242314ba8
  aureleoules:
    ACK 6242314ba8.
  brunoerg:
    ACK 6242314ba8

Tree-SHA512: e8905c800b0c9a760e3380efebe2fb015c321a891dd4bf283039486d9d3b382b2c76901fcc8413acf435ed9832f76d9828efd70ba5ce62d4be65e87672bbd0a2
This commit is contained in:
Andrew Chow 2022-08-25 11:29:15 -04:00
commit ba2edcae73
No known key found for this signature in database
GPG Key ID: 17565732E08E5E41

View File

@ -11,13 +11,16 @@ Supporting RPCs are:
addresses. addresses.
- `listunspent` outputs a specialized descriptor for the reported unspent outputs. - `listunspent` outputs a specialized descriptor for the reported unspent outputs.
- `getaddressinfo` outputs a descriptor for solvable addresses (since v0.18). - `getaddressinfo` outputs a descriptor for solvable addresses (since v0.18).
- `importmulti` takes as input descriptors to import into the wallet - `importmulti` takes as input descriptors to import into a legacy wallet
(since v0.18). (since v0.18).
- `generatetodescriptor` takes as input a descriptor and generates coins to it - `generatetodescriptor` takes as input a descriptor and generates coins to it
(`regtest` only, since v0.19). (`regtest` only, since v0.19).
- `utxoupdatepsbt` takes as input descriptors to add information to the psbt - `utxoupdatepsbt` takes as input descriptors to add information to the psbt
(since v0.19). (since v0.19).
- `createmultisig` and `addmultisigaddress` return descriptors as well (since v0.20) - `createmultisig` and `addmultisigaddress` return descriptors as well (since v0.20).
- `importdescriptors` takes as input descriptors to import into a descriptor wallet
(since v0.21).
- `listdescriptors` outputs descriptors imported into a descriptor wallet (since v22).
This document describes the language. For the specifics on usage, see the RPC This document describes the language. For the specifics on usage, see the RPC
documentation for the functions mentioned above. documentation for the functions mentioned above.