Skip to content

Commit dddd7be

Browse files
author
MarcoFalke
committed
doc: Clarify maxfeerate help
1 parent fa2a4fd commit dddd7be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rpc/mempool.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static RPCHelpMan sendrawtransaction()
4545
{"hexstring", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The hex string of the raw transaction"},
4646
{"maxfeerate", RPCArg::Type::AMOUNT, RPCArg::Default{FormatMoney(DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK())},
4747
"Reject transactions whose fee rate is higher than the specified value, expressed in " + CURRENCY_UNIT +
48-
"/kvB.\nSet to 0 to accept any fee rate."},
48+
"/kvB.\nFee rates larger than 1BTC/kvB are rejected.\nSet to 0 to accept any fee rate."},
4949
{"maxburnamount", RPCArg::Type::AMOUNT, RPCArg::Default{FormatMoney(0)},
5050
"Reject transactions with provably unspendable outputs (e.g. 'datacarrier' outputs that use the OP_RETURN opcode) greater than the specified value, expressed in " + CURRENCY_UNIT + ".\n"
5151
"If burning funds through unspendable outputs is desired, increase this value.\n"
@@ -115,7 +115,8 @@ static RPCHelpMan testmempoolaccept()
115115
},
116116
},
117117
{"maxfeerate", RPCArg::Type::AMOUNT, RPCArg::Default{FormatMoney(DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK())},
118-
"Reject transactions whose fee rate is higher than the specified value, expressed in " + CURRENCY_UNIT + "/kvB\n"},
118+
"Reject transactions whose fee rate is higher than the specified value, expressed in " + CURRENCY_UNIT +
119+
"/kvB.\nFee rates larger than 1BTC/kvB are rejected.\nSet to 0 to accept any fee rate."},
119120
},
120121
RPCResult{
121122
RPCResult::Type::ARR, "", "The result of the mempool acceptance test for each raw transaction in the input array.\n"

0 commit comments

Comments
 (0)