From e4ede64fe87b1619f65da5753088d93e6f481b05 Mon Sep 17 00:00:00 2001 From: Greg Sanders Date: Fri, 24 Feb 2023 10:28:58 -0500 Subject: [PATCH] Expand scantxoutset help text to cover tr() and miniscript --- src/rpc/blockchain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 28a619fe541..9459801c2c7 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -2106,6 +2106,10 @@ static RPCHelpMan scantxoutset() " combo() P2PK, P2PKH, P2WPKH, and P2SH-P2WPKH outputs for the given pubkey\n" " pkh() P2PKH outputs for the given pubkey\n" " sh(multi(,,,...)) P2SH-multisig outputs for the given threshold and pubkeys\n" + " tr() P2TR\n" + " tr(,{pk()}) P2TR with single fallback pubkey in tapscript\n" + " rawtr() P2TR with the specified key as output key rather than inner\n" + " wsh(and_v(v:pk(),after(2))) P2WSH miniscript with mandatory pubkey and a timelock\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 \"/\", and optionally ending in \"/*\" (unhardened), or \"/*'\" or \"/*h\" (hardened) to specify all\n" "unhardened or hardened child keys.\n"