aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-02 08:20:44 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-02 08:21:06 +0100
commit3fbf07926240256d20ca33fa6b049713d4881992 (patch)
tree9768379b57ee7f7d7820433b8f6d8a614ee22152 /src/rpc
parentc4d22f6eb216ce59c06c2794aaa4194635f402fe (diff)
parente878689e5539d8de30283d1461d6466eac65f894 (diff)
downloadbitcoin-3fbf07926240256d20ca33fa6b049713d4881992.tar.xz
Merge #9239: Disable fee estimates for 1 block target
e878689 Make GUI incapable of setting tx confirm target of 1 (Alex Morcos) d824ad0 Disable fee estimates for a confirm target of 1 block (Alex Morcos)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/mining.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index f3cd1fbf0b..c2e5791572 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -785,6 +785,8 @@ UniValue estimatefee(const JSONRPCRequest& request)
"\n"
"A negative value is returned if not enough transactions and blocks\n"
"have been observed to make an estimate.\n"
+ "-1 is always returned for nblocks == 1 as it is impossible to calculate\n"
+ "a fee that is high enough to get reliably included in the next block.\n"
"\nExample:\n"
+ HelpExampleCli("estimatefee", "6")
);