Seems odd to return other policy info, but not the incremental relay fee
rpc: Return incrementalrelayfee in getmempoolinfo #25439
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2206-rpc-policy-🥙 changing 2 files +5 −2-
MarcoFalke commented at 4:08 PM on June 21, 2022: member
-
rpc: Return incrementalrelayfee in getmempoolinfo fafee78188
- fanquake added the label RPC/REST/ZMQ on Jun 21, 2022
- unknown approved
-
unknown commented at 4:39 PM on June 21, 2022: none
- w0xlt approved
-
w0xlt commented at 4:59 PM on June 21, 2022: contributor
-
DrahtBot commented at 5:22 PM on June 21, 2022: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #25353 (Add a
-mempoolfullrbfnode setting by ariard)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
- #25353 (Add a
-
brunoerg commented at 11:50 PM on June 21, 2022: member
Concept ACK
-
jarolrod commented at 3:45 AM on June 27, 2022: member
tACK fafee78188c3de5f6245ec769429822ca4b98c63
{ "loaded": true, "size": 1, "bytes": 141, "usage": 1168, "total_fee": 0.00000141, "maxmempool": 300000000, "mempoolminfee": 0.00001000, "minrelaytxfee": 0.00001000, "incrementalrelayfee": 0.00001000, "unbroadcastcount": 0 } - MarcoFalke merged this on Jun 27, 2022
- MarcoFalke closed this on Jun 27, 2022
- MarcoFalke deleted the branch on Jun 27, 2022
-
in src/rpc/mempool.cpp:685 in fafee78188
681 | @@ -681,7 +682,8 @@ static RPCHelpMan getmempoolinfo() 682 | {RPCResult::Type::NUM, "maxmempool", "Maximum memory usage for the mempool"}, 683 | {RPCResult::Type::STR_AMOUNT, "mempoolminfee", "Minimum fee rate in " + CURRENCY_UNIT + "/kvB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee"}, 684 | {RPCResult::Type::STR_AMOUNT, "minrelaytxfee", "Current minimum relay fee for transactions"}, 685 | - {RPCResult::Type::NUM, "unbroadcastcount", "Current number of transactions that haven't passed initial broadcast yet"} 686 | + {RPCResult::Type::NUM, "incrementalrelayfee", "minimum fee rate increment for mempool limiting or BIP 125 replacement in " + CURRENCY_UNIT + "/kvB"},
jonatack commented at 10:49 AM on June 27, 2022:- s/minimum/Minimum/ (like the other lines in the getmempoolinfo help)
- could add the unit to minrelaytxfee help
jonatack commented at 10:50 AM on June 27, 2022:(Would be possibly nice for these to be expressed in sats, though I suppose that would require a new RPC.)
MarcoFalke commented at 11:01 AM on June 27, 2022:s/minimum/Minimum/ (like the other lines in the getmempoolinfo help)
I copied this from the
getnetworkinfoRPC.could add the unit to minrelaytxfee help
Sure, but seems unrelated.
(Would be possibly nice for these to be expressed in sats, though I suppose that would require a new RPC.)
Good point, given that the wallet is moving toward sat/vB. Not sure how to fix this, though.
sidhujag referenced this in commit 4e4d256937 on Jun 27, 2022DrahtBot locked this on Jun 27, 2023Labels
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:13 UTC
More mirrored repositories can be found on mirror.b10c.me