From 7a1d3762d5321516fb58721cc26e38ada7a47761 Mon Sep 17 00:00:00 2001 From: ismaelsadeeq Date: Thu, 25 Jul 2024 15:22:44 +0100 Subject: [PATCH] [doc, rpc]: clarify meaning of `block` result of `estimatesmartfee` RPC --- src/rpc/fees.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rpc/fees.cpp b/src/rpc/fees.cpp index cb9d3fe76619fd..74718289796056 100644 --- a/src/rpc/fees.cpp +++ b/src/rpc/fees.cpp @@ -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."},