aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-03 11:57:48 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-03 11:58:04 +0100
commit0a4aa876230c602427aa40b47a84698a3fd28e85 (patch)
tree388395d3688edf836441aad19f2e77e6e5d04429 /src/rpc/mining.cpp
parent29435db6a4b5ddfca3b83d49a03643439d8f254f (diff)
parent3688866880decdbe9c2b551a1b701c752f8013d2 (diff)
downloadbitcoin-0a4aa876230c602427aa40b47a84698a3fd28e85.tar.xz
Merge #9267: Disable fee estimates for a confirm target of 1 block
3688866 Disable fee estimates for a confirm target of 1 block (Alex Morcos)
Diffstat (limited to 'src/rpc/mining.cpp')
-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 e6901bc77e..a574709d97 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -791,6 +791,8 @@ UniValue estimatefee(const UniValue& params, bool fHelp)
"\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")
);