aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2016-11-29 12:18:44 -0500
committerAlex Morcos <morcos@chaincode.com>2016-11-29 12:18:44 -0500
commitd824ad030e70bc72e0c63e1b0d00b08413024b55 (patch)
tree4edc345a21147e3f4d69987db095857a2e3c1738 /src/rpc/mining.cpp
parente56cf67e6b3f2e87bee42aaa5ab709f479c9e6ca (diff)
downloadbitcoin-d824ad030e70bc72e0c63e1b0d00b08413024b55.tar.xz
Disable fee estimates for a confirm target of 1 block
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 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")
);