Skip to content

Commit 24f6928

Browse files
committed
Merge pull request #6400
1327897 Reformat help text of estimatefee and estimatepriority to match other help texts. (Pavel Janík)
2 parents 24ce77d + 1327897 commit 24f6928

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/rpcmining.cpp

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -666,16 +666,15 @@ UniValue estimatefee(const UniValue& params, bool fHelp)
666666
if (fHelp || params.size() != 1)
667667
throw runtime_error(
668668
"estimatefee nblocks\n"
669-
"\nEstimates the approximate fee per kilobyte\n"
670-
"needed for a transaction to begin confirmation\n"
671-
"within nblocks blocks.\n"
669+
"\nEstimates the approximate fee per kilobyte needed for a transaction to begin\n"
670+
"confirmation within nblocks blocks.\n"
672671
"\nArguments:\n"
673672
"1. nblocks (numeric)\n"
674673
"\nResult:\n"
675-
"n : (numeric) estimated fee-per-kilobyte\n"
674+
"n (numeric) estimated fee-per-kilobyte\n"
676675
"\n"
677-
"-1.0 is returned if not enough transactions and\n"
678-
"blocks have been observed to make an estimate.\n"
676+
"A negative value is returned if not enough transactions and blocks\n"
677+
"have been observed to make an estimate.\n"
679678
"\nExample:\n"
680679
+ HelpExampleCli("estimatefee", "6")
681680
);
@@ -698,16 +697,15 @@ UniValue estimatepriority(const UniValue& params, bool fHelp)
698697
if (fHelp || params.size() != 1)
699698
throw runtime_error(
700699
"estimatepriority nblocks\n"
701-
"\nEstimates the approximate priority\n"
702-
"a zero-fee transaction needs to begin confirmation\n"
703-
"within nblocks blocks.\n"
700+
"\nEstimates the approximate priority a zero-fee transaction needs to begin\n"
701+
"confirmation within nblocks blocks.\n"
704702
"\nArguments:\n"
705703
"1. nblocks (numeric)\n"
706704
"\nResult:\n"
707-
"n : (numeric) estimated priority\n"
705+
"n (numeric) estimated priority\n"
708706
"\n"
709-
"-1.0 is returned if not enough transactions and\n"
710-
"blocks have been observed to make an estimate.\n"
707+
"A negative value is returned if not enough transactions and blocks\n"
708+
"have been observed to make an estimate.\n"
711709
"\nExample:\n"
712710
+ HelpExampleCli("estimatepriority", "6")
713711
);

0 commit comments

Comments
 (0)