From 92a4ed05d1036b45e8274d8bbadfd59b3d487365 Mon Sep 17 00:00:00 2001 From: FractalEncrypt Date: Tue, 22 Nov 2022 15:06:49 -0500 Subject: [PATCH] doc: add tr() descriptor example to deriveaddresses add a tr() descriptor example to the help deriveaddresses examples --- src/rpc/output_script.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/rpc/output_script.cpp b/src/rpc/output_script.cpp index a980c609e8..2ac6d6d76f 100644 --- a/src/rpc/output_script.cpp +++ b/src/rpc/output_script.cpp @@ -222,10 +222,11 @@ static RPCHelpMan deriveaddresses() return RPCHelpMan{"deriveaddresses", {"\nDerives one or more addresses corresponding to an output descriptor.\n" "Examples of output descriptors are:\n" - " pkh() P2PKH outputs for the given pubkey\n" - " wpkh() Native segwit P2PKH outputs for the given pubkey\n" - " sh(multi(,,,...)) P2SH-multisig outputs for the given threshold and pubkeys\n" - " raw() Outputs whose scriptPubKey equals the specified hex scripts\n" + " pkh() P2PKH outputs for the given pubkey\n" + " wpkh() Native segwit P2PKH outputs for the given pubkey\n" + " sh(multi(,,,...)) P2SH-multisig outputs for the given threshold and pubkeys\n" + " raw() Outputs whose scriptPubKey equals the specified hex scripts\n" + " tr(,multi_a(,,,...)) P2TR-multisig outputs for the given threshold and pubkeys\n" "\nIn the above, either refers to a fixed public key in hexadecimal notation, or to an xpub/xprv optionally followed by one\n" "or more path elements separated by \"/\", where \"h\" represents a hardened child key.\n" "For more information on output descriptors, see the documentation in the doc/descriptors.md file.\n"},