Merge #7646: Fix lockunspent help message
df9e923 Fix lockunspents help message (João Barbosa)
This commit is contained in:
parent
f933c67266
commit
a4911c383b
@ -2219,16 +2219,17 @@ UniValue lockunspent(const UniValue& params, bool fHelp)
|
|||||||
|
|
||||||
if (fHelp || params.size() < 1 || params.size() > 2)
|
if (fHelp || params.size() < 1 || params.size() > 2)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"lockunspent unlock [{\"txid\":\"txid\",\"vout\":n},...]\n"
|
"lockunspent unlock ([{\"txid\":\"txid\",\"vout\":n},...])\n"
|
||||||
"\nUpdates list of temporarily unspendable outputs.\n"
|
"\nUpdates list of temporarily unspendable outputs.\n"
|
||||||
"Temporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.\n"
|
"Temporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.\n"
|
||||||
|
"If no transaction outputs are specified when unlocking then all current locked transaction outputs are unlocked.\n"
|
||||||
"A locked transaction output will not be chosen by automatic coin selection, when spending dashs.\n"
|
"A locked transaction output will not be chosen by automatic coin selection, when spending dashs.\n"
|
||||||
"Locks are stored in memory only. Nodes start with zero locked outputs, and the locked output list\n"
|
"Locks are stored in memory only. Nodes start with zero locked outputs, and the locked output list\n"
|
||||||
"is always cleared (by virtue of process exit) when a node stops or fails.\n"
|
"is always cleared (by virtue of process exit) when a node stops or fails.\n"
|
||||||
"Also see the listunspent call\n"
|
"Also see the listunspent call\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. unlock (boolean, required) Whether to unlock (true) or lock (false) the specified transactions\n"
|
"1. unlock (boolean, required) Whether to unlock (true) or lock (false) the specified transactions\n"
|
||||||
"2. \"transactions\" (string, required) A json array of objects. Each object the txid (string) vout (numeric)\n"
|
"2. \"transactions\" (string, optional) A json array of objects. Each object the txid (string) vout (numeric)\n"
|
||||||
" [ (json array of json objects)\n"
|
" [ (json array of json objects)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" \"txid\":\"id\", (string) The transaction id\n"
|
" \"txid\":\"id\", (string) The transaction id\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user