I think this is something within my ability to add.
Is your feature request related to a problem? Please describe.
The ability to change minrelaytxfee without restarting.
Describe the solution you’d like
I would like the ability to set the relayfee by a bitcoin-cli rpc call.
0setminrelayfee amount
1
2Set the transaction fee rate in BTC/kvB for this wallet. Overrides the global -setminrelayfee config parameter.
3Can be deactivated by passing 0 as the fee. In that case automatic default min fee will be used.
4
5Arguments:
61. amount (numeric or string, required) The transaction fee rate in BTC/kvB
7
8Result:
9true|false (boolean) Returns true if successful
10
11Examples:
12> bitcoin-cli setminrelayfee 0.00001
13> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "setminrelayfee", "params": [0.00001]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/
Describe alternatives you’ve considered
Additional context
I encountered this while hooking up a lightning network node. My relay fee was too high from bad conf settings and was blocking funding transactions. I wasn’t able to change this value and had to restart bitcoind instead of just making an rpc call.