-
Notifications
You must be signed in to change notification settings - Fork 38.7k
WIP: Reduce MinRelayFee slower when Mempool utilised and faster when needed. #21618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
interesting! Can you comment the code a bit better I found it a bit confusing how it's working. |
|
Upon further testing, this algo is broken as the minfee should never go up unless it's during the process of deleting TXs from the mempool - if it goes up in any other event, then this creates a band of missing TXs due to my addition of not reducing the minfee until mempool utilization goes below 90% (or 80%) - it just pads the mempool with low Sat/B TXs which never get used. So, the algo needs to change to either remove the condition (of utilization) before reducing the minfee, OR not raising the minfee unless the mempool is actually full. |
24139b6 to
c1d8d61
Compare
de2f361 to
97f70bf
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
49778a6 to
7bce48b
Compare
94abe5c to
fde749e
Compare
|
ok, this (fde749e) broke the fuzzer - might be best to remove it for now. |
fde749e to
31c0897
Compare
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
|
Closing for now. This needs rebase and there hasn't been any activity for months. You can leave a comment if you want this to be reopened. Though, please make sure the code is passing tests and is ready for review. |





I'm not sure whether to label this WIP or not. It's a little experimental, and perhaps only needed on nodes with a small maxmempool (tested on 50MB).
It's attempting to address the issue #21558
Example in action:-
