mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
rpc: Document that DEFAULT is for Taproot, ALL for everything else
This commit is contained in:
parent
d3992669df
commit
c0405ee27f
2 changed files with 3 additions and 3 deletions
|
@ -785,7 +785,7 @@ static RPCHelpMan signrawtransactionwithkey()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT"}, "The signature hash type. Must be one of:\n"
|
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT for Taproot, ALL otherwise"}, "The signature hash type. Must be one of:\n"
|
||||||
" \"DEFAULT\"\n"
|
" \"DEFAULT\"\n"
|
||||||
" \"ALL\"\n"
|
" \"ALL\"\n"
|
||||||
" \"NONE\"\n"
|
" \"NONE\"\n"
|
||||||
|
|
|
@ -709,7 +709,7 @@ RPCHelpMan signrawtransactionwithwallet()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT"}, "The signature hash type. Must be one of\n"
|
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT for Taproot, ALL otherwise"}, "The signature hash type. Must be one of\n"
|
||||||
" \"DEFAULT\"\n"
|
" \"DEFAULT\"\n"
|
||||||
" \"ALL\"\n"
|
" \"ALL\"\n"
|
||||||
" \"NONE\"\n"
|
" \"NONE\"\n"
|
||||||
|
@ -1167,7 +1167,7 @@ RPCHelpMan walletprocesspsbt()
|
||||||
{
|
{
|
||||||
{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction base64 string"},
|
{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction base64 string"},
|
||||||
{"sign", RPCArg::Type::BOOL, RPCArg::Default{true}, "Also sign the transaction when updating (requires wallet to be unlocked)"},
|
{"sign", RPCArg::Type::BOOL, RPCArg::Default{true}, "Also sign the transaction when updating (requires wallet to be unlocked)"},
|
||||||
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT"}, "The signature hash type to sign with if not specified by the PSBT. Must be one of\n"
|
{"sighashtype", RPCArg::Type::STR, RPCArg::Default{"DEFAULT for Taproot, ALL otherwise"}, "The signature hash type to sign with if not specified by the PSBT. Must be one of\n"
|
||||||
" \"DEFAULT\"\n"
|
" \"DEFAULT\"\n"
|
||||||
" \"ALL\"\n"
|
" \"ALL\"\n"
|
||||||
" \"NONE\"\n"
|
" \"NONE\"\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue