mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 712b7d9b47 into merged_master (Bitcoin PR #17804)
This commit is contained in:
commit
d20bafff5e
5 changed files with 61 additions and 41 deletions
|
|
@ -931,7 +931,7 @@ static UniValue estimaterawfee(const JSONRPCRequest& request)
|
|||
" lower buckets."},
|
||||
},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
"{ (json object) Results are returned for any horizon which tracks blocks up to the confirmation target\n"
|
||||
" \"short\" : { (json object, optional) estimate for short time horizon\n"
|
||||
" \"feerate\" : x.x, (numeric, optional) estimate fee rate in " + CURRENCY_UNIT + "/kB\n"
|
||||
" \"decay\" : x.x, (numeric) exponential decay (per block) for historical moving average of confirmation data\n"
|
||||
|
|
@ -944,14 +944,22 @@ static UniValue estimaterawfee(const JSONRPCRequest& request)
|
|||
" \"inmempool\" : x.x, (numeric) current number of txs in mempool in the feerate range unconfirmed for at least target blocks\n"
|
||||
" \"leftmempool\" : x.x, (numeric) number of txs over history horizon in the feerate range that left mempool unconfirmed after target\n"
|
||||
" },\n"
|
||||
" \"fail\" : { ... }, (json object, optional) information about the highest range of feerates to fail to meet the threshold\n"
|
||||
" \"errors\": [ str... ] (json array of strings, optional) Errors encountered during processing\n"
|
||||
" \"fail\" : { (json object, optional) information about the highest range of feerates to fail to meet the threshold\n"
|
||||
" ...\n"
|
||||
" },\n"
|
||||
" \"errors\": [ (json array, optional) Errors encountered during processing\n"
|
||||
" \"str\", (string)\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
" },\n"
|
||||
" \"medium\" : { (json object, optional) estimate for medium time horizon\n"
|
||||
" ...\n"
|
||||
" },\n"
|
||||
" \"long\" : { (json object, optional) estimate for long time horizon\n"
|
||||
" ...\n"
|
||||
" },\n"
|
||||
" \"medium\" : { ... }, (json object, optional) estimate for medium time horizon\n"
|
||||
" \"long\" : { ... } (json object) estimate for long time horizon\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"Results are returned for any horizon which tracks blocks up to the confirmation target.\n"
|
||||
},
|
||||
RPCExamples{
|
||||
HelpExampleCli("estimaterawfee", "6 0.9")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue