You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #18098: scripted-diff: Add missing spaces in RPCResult, Normalize type names
fad027f 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:
ACK fad027f
Tree-SHA512: 48afd571b1cd349ca0b29bb444c1c7cda657e07dd96c610d479f931ccd938186aec98e533d0552b5b10afc9a3d7b911359260a49448e8e1106e3647b2c71f3ba
"\"currentblockweight\": nnn, (numeric, optional) The block weight of the last assembled block (only present if a block was ever assembled)\n"
236
-
"\"currentblocktx\": nnn, (numeric, optional) The number of block transactions of the last assembled block (only present if a block was ever assembled)\n"
237
-
"\"difficulty\": xxx.xxxxx (numeric) The current difficulty\n"
238
-
"\"networkhashps\": nnn, (numeric) The network hashes per second\n"
239
-
"\"pooledtx\": n (numeric) The size of the mempool\n"
240
-
"\"chain\": \"xxxx\", (string) current network name (main, test, regtest)\n"
241
-
"\"warnings\": \"...\" (string) any network and blockchain warnings\n"
234
+
"\"blocks\": nnn, (numeric) The current block\n"
235
+
"\"currentblockweight\": nnn, (numeric, optional) The block weight of the last assembled block (only present if a block was ever assembled)\n"
236
+
"\"currentblocktx\": nnn, (numeric, optional) The number of block transactions of the last assembled block (only present if a block was ever assembled)\n"
237
+
"\"difficulty\": xxx.xxxxx (numeric) The current difficulty\n"
238
+
"\"networkhashps\": nnn, (numeric) The network hashes per second\n"
239
+
"\"pooledtx\": n (numeric) The size of the mempool\n"
240
+
"\"chain\": \"xxxx\", (string) current network name (main, test, regtest)\n"
241
+
"\"warnings\": \"...\" (string) any network and blockchain warnings\n"
"\"depends\" : [ (json array) array of numbers \n"
374
374
" 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"
375
375
" ,...\n"
376
376
" ],\n"
377
-
"\"fee\": n, (numeric) difference in value between transaction inputs and outputs (in satoshis); for coinbase transactions, this is a negative Number of the total collected block fees (ie, not including the block subsidy); if key is not present, fee is unknown and clients MUST NOT assume there isn't one\n"
377
+
"\"fee\": n, (numeric) difference in value between transaction inputs and outputs (in satoshis); for coinbase transactions, this is a negative Number of the total collected block fees (ie, not including the block subsidy); if key is not present, fee is unknown and clients MUST NOT assume there isn't one\n"
378
378
"\"sigops\" : n, (numeric) total SigOps cost, as counted for purposes of block limits; if key is not present, sigop cost is unknown and clients MUST NOT assume it is zero\n"
379
379
"\"weight\" : n, (numeric) total transaction weight, as counted for purposes of block limits\n"
{"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."},
188
188
},
189
189
RPCResult{
190
-
"[ address ] (array) the derived addresses\n"
190
+
"[ address ] (json array) the derived addresses\n"
"\"locked\": { (json object) Information about locked memory manager\n"
422
-
"\"used\": xxxxx, (numeric) Number of bytes used\n"
423
-
"\"free\": xxxxx, (numeric) Number of bytes available in current arenas\n"
424
-
"\"total\": xxxxxxx, (numeric) Total number of bytes managed\n"
425
-
"\"locked\": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.\n"
426
-
"\"chunks_used\": xxxxx, (numeric) Number allocated chunks\n"
427
-
"\"chunks_free\": xxxxx, (numeric) Number unused chunks\n"
421
+
"\"locked\": { (json object) Information about locked memory manager\n"
422
+
"\"used\": xxxxx, (numeric) Number of bytes used\n"
423
+
"\"free\": xxxxx, (numeric) Number of bytes available in current arenas\n"
424
+
"\"total\": xxxxxxx, (numeric) Total number of bytes managed\n"
425
+
"\"locked\": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.\n"
426
+
"\"chunks_used\": xxxxx, (numeric) Number allocated chunks\n"
427
+
"\"chunks_free\": xxxxx, (numeric) Number unused chunks\n"
0 commit comments