Skip to content

Commit

Permalink
[doc, rpc]: clarify meaning of block result of estimatesmartfee RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelsadeeq committed Jul 25, 2024
1 parent 35c6e75 commit 7a1d376
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/rpc/fees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ static RPCHelpMan estimatesmartfee()
{
{RPCResult::Type::STR, "", "error"},
}},
{RPCResult::Type::NUM, "blocks", "block number where estimate was found\n"
"The request target will be clamped between 2 and the highest target\n"
{RPCResult::Type::NUM, "blocks", "The returned fee rate estimate will likely make transaction begin\n"
"confirming confirm within this value. If an estimate for the exact\n"
"conf_target cannot be provided, the closest possible target\n"
"for which an estimate can be provided will be returned.\n"
"The requested conf_target will be clamped between 2 and the highest target\n"
"fee estimation is able to return based on how long it has been running.\n"
"An error is returned if not enough transactions and blocks\n"
"have been observed to make an estimate for any number of blocks."},
Expand Down

0 comments on commit 7a1d376

Please sign in to comment.