This replaces the fForRelay flag in the GetMinFee function with an enum mode parameter (GMF_{BLOCK,RELAY,SEND}), to allow more fine-tuned fee rules. The end goal is an API for allowing users to customize their fee schedules.
API: GetMinFee modes #551
pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:minfee_modes changing 3 files +13 −5-
luke-jr commented at 8:31 PM on October 4, 2011: member
-
GetMinFee takes a mode parameter (GMF_{BLOCK,RELAY,SEND}) instead of fForRelay d8761995da
-
gavinandresen commented at 2:35 PM on October 5, 2011: contributor
Closing because I don't want pull requests to turn into Yet Another Place to discuss ideas.
Reworking how fees work is a good idea, but should be discussed on bitcoin-dev of the forums before submitting half an implementation.
- gavinandresen closed this on Oct 5, 2011
-
luke-jr commented at 3:17 PM on October 5, 2011: member
This particular change was discussed (at least on IRC) a while back when fForRelay was being added. IIRC, we had an agreement it would be a good change, but not of immediate urgency (the immediate concern was reducing txn fees).
- ptschip referenced this in commit ddd12e214a on May 10, 2017
- sipa referenced this in commit cc05fa919a on Mar 30, 2019
- sipa referenced this in commit 1e32413e52 on Mar 30, 2019
- sipa referenced this in commit 54245985fb on Mar 31, 2019
- sipa referenced this in commit 3fe71bbd95 on Apr 2, 2019
- LongShao007 referenced this in commit 3d9a3d2063 on Jul 15, 2019
- LongShao007 referenced this in commit 8af66f3427 on Jul 15, 2019
- LongShao007 referenced this in commit 807f206f73 on Jul 15, 2019
- fjahr referenced this in commit 1c131affd3 on Jul 24, 2019
- fjahr referenced this in commit b76e45d5d6 on Jul 24, 2019
- fjahr referenced this in commit 85d0e1bcce on Jul 24, 2019
- kallewoof referenced this in commit c866f52e2a on Oct 4, 2019
- KolbyML referenced this in commit bc86927231 on Sep 4, 2020
- rajarshimaitra referenced this in commit 7df01f2ce1 on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021
- hebasto referenced this in commit 2efdfb88aa on Mar 17, 2022
- hebasto referenced this in commit aece566249 on Mar 17, 2022
- hebasto referenced this in commit 642f2726de on Mar 17, 2022
Contributors