mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Comments and improved documentation
This commit is contained in:
parent
ef589f8d40
commit
2d2e17052c
3 changed files with 56 additions and 28 deletions
|
|
@ -797,6 +797,7 @@ UniValue estimatefee(const JSONRPCRequest& request)
|
|||
if (request.fHelp || request.params.size() != 1)
|
||||
throw std::runtime_error(
|
||||
"estimatefee nblocks\n"
|
||||
"\nDEPRECATED. Please use estimatesmartfee for more intelligent estimates."
|
||||
"\nEstimates the approximate fee per kilobyte needed for a transaction to begin\n"
|
||||
"confirmation within nblocks blocks. Uses virtual transaction size of transaction\n"
|
||||
"as defined in BIP 141 (witness data is discounted).\n"
|
||||
|
|
@ -831,7 +832,6 @@ UniValue estimatesmartfee(const JSONRPCRequest& request)
|
|||
if (request.fHelp || request.params.size() < 1 || request.params.size() > 2)
|
||||
throw std::runtime_error(
|
||||
"estimatesmartfee nblocks (conservative)\n"
|
||||
"\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. Uses virtual transaction size as defined\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue