mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
Merge #18098: scripted-diff: Add missing spaces in RPCResult, Normalize type names
fad027fb0c
scripted-diff: Add missing spaces in RPCResult, Fix type names (MarcoFalke) Pull request description: This makes the rendered diff smaller when the RPCResult is machine generated later on (Previous attempts: #14601 and #14459) ACKs for top commit: Sjors: ACKfad027fb0c
Tree-SHA512: 48afd571b1cd349ca0b29bb444c1c7cda657e07dd96c610d479f931ccd938186aec98e533d0552b5b10afc9a3d7b911359260a49448e8e1106e3647b2c71f3ba
This commit is contained in:
commit
263f53e2d0
8 changed files with 315 additions and 315 deletions
|
@ -229,7 +229,7 @@ static UniValue waitfornewblock(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
@ -269,7 +269,7 @@ static UniValue waitforblock(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
@ -313,7 +313,7 @@ static UniValue waitforblockheight(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
@ -400,10 +400,10 @@ static std::string EntryDescriptionString()
|
|||
" \"ancestor\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one) in " + CURRENCY_UNIT + "\n"
|
||||
" \"descendant\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one) in " + CURRENCY_UNIT + "\n"
|
||||
" }\n"
|
||||
" \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n"
|
||||
" \"depends\" : [ (json array) unconfirmed transactions used as inputs for this transaction\n"
|
||||
" \"transactionid\", (string) parent transaction id\n"
|
||||
" ... ]\n"
|
||||
" \"spentby\" : [ (array) unconfirmed transactions spending outputs from this transaction\n"
|
||||
" \"spentby\" : [ (json array) unconfirmed transactions spending outputs from this transaction\n"
|
||||
" \"transactionid\", (string) child transaction id\n"
|
||||
" ... ]\n"
|
||||
" \"bip125-replaceable\" : true|false, (boolean) Whether this transaction could be replaced due to BIP125 (replace-by-fee)\n";
|
||||
|
@ -1211,23 +1211,23 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
|
|||
" \"difficulty\" : xxxxxx, (numeric) the current difficulty\n"
|
||||
" \"mediantime\" : xxxxxx, (numeric) median time for the current best block\n"
|
||||
" \"verificationprogress\" : xxxx, (numeric) estimate of verification progress [0..1]\n"
|
||||
" \"initialblockdownload\": xxxx, (bool) (debug information) estimate of whether this node is in Initial Block Download mode.\n"
|
||||
" \"initialblockdownload\" : xxxx, (boolean) (debug information) estimate of whether this node is in Initial Block Download mode.\n"
|
||||
" \"chainwork\" : \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
|
||||
" \"size_on_disk\" : xxxxxx, (numeric) the estimated size of the block and undo files on disk\n"
|
||||
" \"pruned\" : xx, (boolean) if the blocks are subject to pruning\n"
|
||||
" \"pruneheight\" : xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n"
|
||||
" \"automatic_pruning\" : xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n"
|
||||
" \"prune_target_size\" : xxxxxx, (numeric) the target size used by pruning (only present if automatic pruning is enabled)\n"
|
||||
" \"softforks\": { (object) status of softforks\n"
|
||||
" \"softforks\" : { (json object) status of softforks\n"
|
||||
" \"xxxx\" : { (string) name of the softfork\n"
|
||||
" \"type\" : \"xxxx\", (string) one of \"buried\", \"bip9\"\n"
|
||||
" \"bip9\": { (object) status of bip9 softforks (only for \"bip9\" type)\n"
|
||||
" \"bip9\": { (json object) status of bip9 softforks (only for \"bip9\" type)\n"
|
||||
" \"status\" : \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
|
||||
" \"bit\" : xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
|
||||
" \"start_time\" : xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
|
||||
" \"timeout\" : xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
|
||||
" \"since\" : xx, (numeric) height of the first block to which the status applies\n"
|
||||
" \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork\n"
|
||||
" \"statistics\" : { (json object) numeric statistics about BIP9 signalling for a softfork\n"
|
||||
" \"period\" : xx, (numeric) the length in blocks of the BIP9 signalling period \n"
|
||||
" \"threshold\" : xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
|
||||
" \"elapsed\" : xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
|
||||
|
|
|
@ -154,7 +154,7 @@ static UniValue generatetodescriptor(const JSONRPCRequest& request)
|
|||
{"maxtries", RPCArg::Type::NUM, /* default */ "1000000", "How many iterations to try."},
|
||||
},
|
||||
RPCResult{
|
||||
"[ blockhashes ] (array) hashes of blocks generated\n"},
|
||||
"[ blockhashes ] (json array) hashes of blocks generated\n"},
|
||||
RPCExamples{
|
||||
"\nGenerate 11 blocks to mydesc\n" + HelpExampleCli("generatetodescriptor", "11 \"mydesc\"")},
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ static UniValue generatetoaddress(const JSONRPCRequest& request)
|
|||
{"maxtries", RPCArg::Type::NUM, /* default */ "1000000", "How many iterations to try."},
|
||||
},
|
||||
RPCResult{
|
||||
"[ blockhashes ] (array) hashes of blocks generated\n"
|
||||
"[ blockhashes ] (json array) hashes of blocks generated\n"
|
||||
},
|
||||
RPCExamples{
|
||||
"\nGenerate 11 blocks to myaddress\n"
|
||||
|
@ -365,12 +365,12 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|||
" },\n"
|
||||
" \"vbrequired\" : n, (numeric) bit mask of versionbits the server requires set in submissions\n"
|
||||
" \"previousblockhash\" : \"xxxx\", (string) The hash of current highest block\n"
|
||||
" \"transactions\" : [ (array) contents of non-coinbase transactions that should be included in the next block\n"
|
||||
" \"transactions\" : [ (json array) contents of non-coinbase transactions that should be included in the next block\n"
|
||||
" {\n"
|
||||
" \"data\" : \"xxxx\", (string) transaction data encoded in hexadecimal (byte-for-byte)\n"
|
||||
" \"txid\" : \"xxxx\", (string) transaction id encoded in little-endian hexadecimal\n"
|
||||
" \"hash\" : \"xxxx\", (string) hash encoded in little-endian hexadecimal (including witness data)\n"
|
||||
" \"depends\" : [ (array) array of numbers \n"
|
||||
" \"depends\" : [ (json array) array of numbers \n"
|
||||
" n (numeric) transactions before this one (by 1-based index in 'transactions' list) that must be present in the final block if this one is\n"
|
||||
" ,...\n"
|
||||
" ],\n"
|
||||
|
|
|
@ -187,7 +187,7 @@ UniValue deriveaddresses(const JSONRPCRequest& request)
|
|||
{"range", RPCArg::Type::RANGE, RPCArg::Optional::OMITTED_NAMED_ARG, "If a ranged descriptor is used, this specifies the end or the range (in [begin,end] notation) to derive."},
|
||||
},
|
||||
RPCResult{
|
||||
"[ address ] (array) the derived addresses\n"
|
||||
"[ address ] (json array) the derived addresses\n"
|
||||
},
|
||||
RPCExamples{
|
||||
"First three native segwit receive addresses\n" +
|
||||
|
@ -497,7 +497,7 @@ UniValue logging(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{ (json object where keys are the logging categories, and values indicates its status\n"
|
||||
" \"category\": true|false, (bool) if being debug logged or not. false:inactive, true:active\n"
|
||||
" \"category\" : true|false, (boolean) if being debug logged or not. false:inactive, true:active\n"
|
||||
" ...\n"
|
||||
"}\n"
|
||||
},
|
||||
|
|
|
@ -85,7 +85,7 @@ static UniValue getpeerinfo(const JSONRPCRequest& request)
|
|||
" \"addrlocal\" : \"ip:port\", (string) Local address as reported by the peer\n"
|
||||
" \"mapped_as\" : \"mapped_as\", (string) The AS in the BGP route to the peer used for diversifying peer selection\n"
|
||||
" \"services\" : \"xxxxxxxxxxxxxxxx\", (string) The services offered\n"
|
||||
" \"servicesnames\":[ (array) the services offered, in human-readable form\n"
|
||||
" \"servicesnames\" : [ (json array) the services offered, in human-readable form\n"
|
||||
" \"SERVICE_NAME\", (string) the service name if it is recognised\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
|
@ -457,27 +457,27 @@ static UniValue getnetworkinfo(const JSONRPCRequest& request)
|
|||
" \"subversion\" : \"str\", (string) the server subversion string\n"
|
||||
" \"protocolversion\" : xxxxx, (numeric) the protocol version\n"
|
||||
" \"localservices\" : \"hex\", (string) the services we offer to the network\n"
|
||||
" \"localservicesnames\": [ (array) the services we offer to the network, in human-readable form\n"
|
||||
" \"localservicesnames\" : [ (json array) the services we offer to the network, in human-readable form\n"
|
||||
" \"SERVICE_NAME\", (string) the service name\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
" \"localrelay\": true|false, (bool) true if transaction relay is requested from peers\n"
|
||||
" \"localrelay\" : true|false, (boolean) true if transaction relay is requested from peers\n"
|
||||
" \"timeoffset\" : xxxxx, (numeric) the time offset\n"
|
||||
" \"connections\" : xxxxx, (numeric) the number of connections\n"
|
||||
" \"networkactive\": true|false, (bool) whether p2p networking is enabled\n"
|
||||
" \"networks\": [ (array) information per network\n"
|
||||
" \"networkactive\" : true|false, (boolean) whether p2p networking is enabled\n"
|
||||
" \"networks\" : [ (json array) information per network\n"
|
||||
" { (json object)\n"
|
||||
" \"name\" : \"str\", (string) network (ipv4, ipv6 or onion)\n"
|
||||
" \"limited\" : true|false, (boolean) is the network limited using -onlynet?\n"
|
||||
" \"reachable\" : true|false, (boolean) is the network reachable?\n"
|
||||
" \"proxy\" : \"str\" (string) (\"host:port\") the proxy that is used for this network, or empty if none\n"
|
||||
" \"proxy_randomize_credentials\" : true|false, (bool) Whether randomized credentials are used\n"
|
||||
" \"proxy_randomize_credentials\" : true|false, (boolean) Whether randomized credentials are used\n"
|
||||
" },\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
" \"relayfee\" : x.xxxxxxxx, (numeric) minimum relay fee for transactions in " + CURRENCY_UNIT + "/kB\n"
|
||||
" \"incrementalfee\" : x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in " + CURRENCY_UNIT + "/kB\n"
|
||||
" \"localaddresses\": [ (array) list of local addresses\n"
|
||||
" \"localaddresses\" : [ (json array) list of local addresses\n"
|
||||
" { (json object)\n"
|
||||
" \"address\" : \"xxxx\", (string) network address\n"
|
||||
" \"port\" : xxx, (numeric) network port\n"
|
||||
|
|
|
@ -98,7 +98,7 @@ static UniValue getrawtransaction(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{"if verbose is set to true",
|
||||
"{\n"
|
||||
" \"in_active_chain\": b, (bool) Whether specified block is in the active chain or not (only present with explicit \"blockhash\" argument)\n"
|
||||
" \"in_active_chain\" : b, (boolean) Whether specified block is in the active chain or not (only present with explicit \"blockhash\" argument)\n"
|
||||
" \"hex\" : \"data\", (string) The serialized, hex-encoded data for 'txid'\n"
|
||||
" \"txid\" : \"id\", (string) The transaction id (same as provided)\n"
|
||||
" \"hash\" : \"id\", (string) The transaction hash (differs from txid for witness transactions)\n"
|
||||
|
@ -846,7 +846,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
|
|||
{"maxfeerate", RPCArg::Type::AMOUNT, /* default */ FormatMoney(DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK()), "Reject transactions whose fee rate is higher than the specified value, expressed in " + CURRENCY_UNIT + "/kB\n"},
|
||||
},
|
||||
RPCResult{
|
||||
"[ (array) The result of the mempool acceptance test for each raw transaction in the input array.\n"
|
||||
"[ (json array) The result of the mempool acceptance test for each raw transaction in the input array.\n"
|
||||
" Length is exactly one for now.\n"
|
||||
" {\n"
|
||||
" \"txid\" (string) The transaction hash in hex\n"
|
||||
|
|
|
@ -198,9 +198,9 @@ static UniValue getrpcinfo(const JSONRPCRequest& request)
|
|||
{},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"active_commands\" (array) All active commands\n"
|
||||
" \"active_commands\" (json array) All active commands\n"
|
||||
" [\n"
|
||||
" { (object) Information about an active command\n"
|
||||
" { (json object) Information about an active command\n"
|
||||
" \"method\" (string) The name of the RPC command \n"
|
||||
" \"duration\" (numeric) The running time in microseconds\n"
|
||||
" },...\n"
|
||||
|
|
|
@ -1206,7 +1206,7 @@ static UniValue listreceivedbyaddress(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"[\n"
|
||||
" {\n"
|
||||
" \"involvesWatchonly\" : true, (bool) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"involvesWatchonly\" : true, (boolean) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"address\" : \"receivingaddress\", (string) The receiving address\n"
|
||||
" \"amount\" : x.xxx, (numeric) The total amount in " + CURRENCY_UNIT + " received by the address\n"
|
||||
" \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n"
|
||||
|
@ -1256,7 +1256,7 @@ static UniValue listreceivedbylabel(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"[\n"
|
||||
" {\n"
|
||||
" \"involvesWatchonly\" : true, (bool) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"involvesWatchonly\" : true, (boolean) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"amount\" : x.xxx, (numeric) The total amount received by addresses with this label\n"
|
||||
" \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n"
|
||||
" \"label\" : \"label\" (string) The label of the receiving address. The default label is \"\".\n"
|
||||
|
@ -1378,14 +1378,14 @@ static const std::string TransactionDescriptionString()
|
|||
{
|
||||
return " \"confirmations\": n, (numeric) The number of confirmations for the transaction. Negative confirmations means the\n"
|
||||
" transaction conflicted that many blocks ago.\n"
|
||||
" \"generated\": xxx, (bool) Only present if transaction only input is a coinbase one.\n"
|
||||
" \"trusted\": xxx, (bool) Only present if we consider transaction to be trusted and so safe to spend from.\n"
|
||||
" \"generated\" : xxx, (boolean) Only present if transaction only input is a coinbase one.\n"
|
||||
" \"trusted\" : xxx, (boolean) Only present if we consider transaction to be trusted and so safe to spend from.\n"
|
||||
" \"blockhash\" : \"hashvalue\", (string) The block hash containing the transaction.\n"
|
||||
" \"blockheight\" : n, (numeric) The block height containing the transaction.\n"
|
||||
" \"blockindex\" : n, (numeric) The index of the transaction in the block that includes it.\n"
|
||||
" \"blocktime\" : xxx, (numeric) The block time expressed in " + UNIX_EPOCH_TIME + ".\n"
|
||||
" \"txid\" : \"transactionid\", (string) The transaction id.\n"
|
||||
" \"walletconflicts\": [ (array) Conflicting transaction ids.\n"
|
||||
" \"walletconflicts\" : [ (json array) Conflicting transaction ids.\n"
|
||||
" \"txid\", (string) The transaction id.\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
|
@ -1418,7 +1418,7 @@ UniValue listtransactions(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"[\n"
|
||||
" {\n"
|
||||
" \"involvesWatchonly\": xxx, (bool) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"involvesWatchonly\" : xxx, (boolean) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"address\" : \"address\", (string) The bitcoin address of the transaction.\n"
|
||||
" \"category\" : (string) The transaction category.\n"
|
||||
" \"send\" Transactions sent.\n"
|
||||
|
@ -1433,7 +1433,7 @@ UniValue listtransactions(const JSONRPCRequest& request)
|
|||
" \"fee\" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the \n"
|
||||
" 'send' category of transactions.\n"
|
||||
+ TransactionDescriptionString()
|
||||
+ " \"abandoned\": xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n"
|
||||
+ " \"abandoned\": xxx (boolean) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n"
|
||||
" 'send' category of transactions.\n"
|
||||
" }\n"
|
||||
"]\n"
|
||||
|
@ -1530,7 +1530,7 @@ static UniValue listsinceblock(const JSONRPCRequest& request)
|
|||
"{ (json object)\n"
|
||||
" \"transactions\" : [ (json array)\n"
|
||||
" { (json object)\n"
|
||||
" \"involvesWatchonly\": xxx, (bool) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"involvesWatchonly\" : xxx, (boolean) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"address\" : \"str\", (string) The bitcoin address of the transaction.\n"
|
||||
" \"category\" : \"str\", (string) The transaction category.\n"
|
||||
" \"send\" Transactions sent.\n"
|
||||
|
@ -1543,7 +1543,7 @@ static UniValue listsinceblock(const JSONRPCRequest& request)
|
|||
" \"vout\" : n, (numeric) the vout value\n"
|
||||
" \"fee\" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the 'send' category of transactions.\n"
|
||||
+ TransactionDescriptionString()
|
||||
+ " \"abandoned\": xxx, (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the 'send' category of transactions.\n"
|
||||
+ " \"abandoned\": xxx, (boolean) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the 'send' category of transactions.\n"
|
||||
" \"label\" : \"label\" (string) A comment for the address/transaction, if any\n"
|
||||
" \"to\" : \"...\", (string) If a comment to is associated with the transaction.\n"
|
||||
" },\n"
|
||||
|
@ -1669,7 +1669,7 @@ static UniValue gettransaction(const JSONRPCRequest& request)
|
|||
+ TransactionDescriptionString()
|
||||
+ " \"details\" : [\n"
|
||||
" {\n"
|
||||
" \"involvesWatchonly\": xxx, (bool) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"involvesWatchonly\" : xxx, (boolean) Only returns true if imported addresses were involved in transaction.\n"
|
||||
" \"address\" : \"address\", (string) The bitcoin address involved in the transaction\n"
|
||||
" \"category\" : (string) The transaction category.\n"
|
||||
" \"send\" Transactions sent.\n"
|
||||
|
@ -1682,7 +1682,7 @@ static UniValue gettransaction(const JSONRPCRequest& request)
|
|||
" \"vout\" : n, (numeric) the vout value\n"
|
||||
" \"fee\" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the \n"
|
||||
" 'send' category of transactions.\n"
|
||||
" \"abandoned\": xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n"
|
||||
" \"abandoned\" : xxx (boolean) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n"
|
||||
" 'send' category of transactions.\n"
|
||||
" }\n"
|
||||
" ,...\n"
|
||||
|
@ -2354,13 +2354,13 @@ static UniValue getbalances(const JSONRPCRequest& request)
|
|||
{},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"mine\": { (object) balances from outputs that the wallet can sign\n"
|
||||
" \"mine\" : { (json object) balances from outputs that the wallet can sign\n"
|
||||
" \"trusted\" : xxx (numeric) trusted balance (outputs created by the wallet or confirmed outputs)\n"
|
||||
" \"untrusted_pending\" : xxx (numeric) untrusted pending balance (outputs created by others that are in the mempool)\n"
|
||||
" \"immature\" : xxx (numeric) balance from immature coinbase outputs\n"
|
||||
" \"used\" : xxx (numeric) (only present if avoid_reuse is set) balance from coins sent to addresses that were previously spent from (potentially privacy violating)\n"
|
||||
" },\n"
|
||||
" \"watchonly\": { (object) watchonly balances (not present if wallet does not watch anything)\n"
|
||||
" \"watchonly\" : { (json object) watchonly balances (not present if wallet does not watch anything)\n"
|
||||
" \"trusted\" : xxx (numeric) trusted balance (outputs created by the wallet or confirmed outputs)\n"
|
||||
" \"untrusted_pending\" : xxx (numeric) untrusted pending balance (outputs created by others that are in the mempool)\n"
|
||||
" \"immature\" : xxx (numeric) balance from immature coinbase outputs\n"
|
||||
|
@ -2628,7 +2628,7 @@ static UniValue setwalletflag(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{\n"
|
||||
" \"flag_name\" : string (string) The name of the flag that was modified\n"
|
||||
" \"flag_state\": bool (bool) The new state of the flag\n"
|
||||
" \"flag_state\" : bool (boolean) The new state of the flag\n"
|
||||
" \"warnings\" : string (string) Any warnings associated with the change\n"
|
||||
"}\n"
|
||||
},
|
||||
|
@ -2826,11 +2826,11 @@ static UniValue listunspent(const JSONRPCRequest& request)
|
|||
" \"confirmations\" : n, (numeric) The number of confirmations\n"
|
||||
" \"redeemScript\" : \"script\" (string) The redeemScript if scriptPubKey is P2SH\n"
|
||||
" \"witnessScript\" : \"script\" (string) witnessScript if the scriptPubKey is P2WSH or P2SH-P2WSH\n"
|
||||
" \"spendable\" : xxx, (bool) Whether we have the private keys to spend this output\n"
|
||||
" \"solvable\" : xxx, (bool) Whether we know how to spend this output, ignoring the lack of keys\n"
|
||||
" \"reused\" : xxx, (bool) (only present if avoid_reuse is set) Whether this output is reused/dirty (sent to an address that was previously spent from)\n"
|
||||
" \"spendable\" : xxx, (boolean) Whether we have the private keys to spend this output\n"
|
||||
" \"solvable\" : xxx, (boolean) Whether we know how to spend this output, ignoring the lack of keys\n"
|
||||
" \"reused\" : xxx, (boolean) (only present if avoid_reuse is set) Whether this output is reused/dirty (sent to an address that was previously spent from)\n"
|
||||
" \"desc\" : xxx, (string, only when solvable) A descriptor for spending this output\n"
|
||||
" \"safe\" : xxx (bool) Whether this output is considered safe to spend. Unconfirmed transactions\n"
|
||||
" \"safe\" : xxx (boolean) Whether this output is considered safe to spend. Unconfirmed transactions\n"
|
||||
" from outside keys and unconfirmed replacement transactions are considered unsafe\n"
|
||||
" and are not eligible for spending by fundrawtransaction and sendtoaddress.\n"
|
||||
" }\n"
|
||||
|
@ -3765,7 +3765,7 @@ UniValue getaddressinfo(const JSONRPCRequest& request)
|
|||
" \"hdkeypath\" : \"keypath\" (string, optional) The HD keypath, if the key is HD and available.\n"
|
||||
" \"hdseedid\" : \"<hash160>\" (string, optional) The Hash160 of the HD seed.\n"
|
||||
" \"hdmasterfingerprint\" : \"<hash160>\" (string, optional) The fingerprint of the master key.\n"
|
||||
" \"labels\" (array) Array of labels associated with the address. Currently limited to one label but returned\n"
|
||||
" \"labels\" (json array) Array of labels associated with the address. Currently limited to one label but returned\n"
|
||||
" as an array to keep the API stable if multiple labels are enabled in the future.\n"
|
||||
" [\n"
|
||||
" \"label name\" (string) The label name. Defaults to \"\".\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue