aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorFractalEncrypt <FractalEncrypt@TimechainArtifacts.com>2022-11-22 15:06:49 -0500
committerFractalEncrypt <FractalEncrypt@TimechainArtifacts.com>2022-11-23 10:17:29 -0500
commit92a4ed05d1036b45e8274d8bbadfd59b3d487365 (patch)
tree9115d4ca1446b7ef505de71f09101d081ad2cf14 /src/rpc
parentd0b1f613c2a20b2de2878be2de19f827347dcc24 (diff)
downloadbitcoin-92a4ed05d1036b45e8274d8bbadfd59b3d487365.tar.xz
doc: add tr() descriptor example to deriveaddresses
add a tr() descriptor example to the help deriveaddresses examples
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/output_script.cpp9
1 files 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(<pubkey>) P2PKH outputs for the given pubkey\n"
- " wpkh(<pubkey>) Native segwit P2PKH outputs for the given pubkey\n"
- " sh(multi(<n>,<pubkey>,<pubkey>,...)) P2SH-multisig outputs for the given threshold and pubkeys\n"
- " raw(<hex script>) Outputs whose scriptPubKey equals the specified hex scripts\n"
+ " pkh(<pubkey>) P2PKH outputs for the given pubkey\n"
+ " wpkh(<pubkey>) Native segwit P2PKH outputs for the given pubkey\n"
+ " sh(multi(<n>,<pubkey>,<pubkey>,...)) P2SH-multisig outputs for the given threshold and pubkeys\n"
+ " raw(<hex script>) Outputs whose scriptPubKey equals the specified hex scripts\n"
+ " tr(<pubkey>,multi_a(<n>,<pubkey>,<pubkey>,...)) P2TR-multisig outputs for the given threshold and pubkeys\n"
"\nIn the above, <pubkey> 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"},