aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorjonnynewbs <jonnynewbs@gmail.com>2016-09-15 10:46:01 -0400
committerJohn Newbery <john@johnnewbery.com>2016-12-08 17:03:57 +0000
commitd29505db22892548a5eca5567bf8acf4e950efea (patch)
tree7d9a3c11b423497c74e52af6ebc3d88667aab77b /src/rpc/mining.cpp
parent7490ae8b699d2955b665cf849d86ff5bb5245c28 (diff)
downloadbitcoin-d29505db22892548a5eca5567bf8acf4e950efea.tar.xz
Fix transaction size comments. Size now refers to virtual size as defined in BIP141.
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 6b0e52a309..724594c8d8 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -775,7 +775,8 @@ UniValue estimatefee(const JSONRPCRequest& request)
throw runtime_error(
"estimatefee nblocks\n"
"\nEstimates the approximate fee per kilobyte needed for a transaction to begin\n"
- "confirmation within nblocks blocks.\n"
+ "confirmation within nblocks blocks. Uses virtual transaction size of transaction\n"
+ "as defined in BIP 141 (witness data is discounted).\n"
"\nArguments:\n"
"1. nblocks (numeric)\n"
"\nResult:\n"
@@ -835,7 +836,8 @@ UniValue estimatesmartfee(const JSONRPCRequest& request)
"\nWARNING: This interface is unstable and may disappear or change!\n"
"\nEstimates the approximate fee per kilobyte needed for a transaction to begin\n"
"confirmation within nblocks blocks if possible and return the number of blocks\n"
- "for which the estimate is valid.\n"
+ "for which the estimate is valid. Uses virtual transaction size as defined\n"
+ "in BIP 141 (witness data is discounted).\n"
"\nArguments:\n"
"1. nblocks (numeric)\n"
"\nResult:\n"