Skip to content
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

use hourFee for all transactions #1

Merged
merged 1 commit into from Apr 29, 2023
Merged

Conversation

openoms
Copy link
Contributor

@openoms openoms commented Apr 29, 2023

The mempool.space API returns 5 types of fee estimation values:

curl https://mempool.space/api/v1/fees/recommended
{"fastestFee":44,"halfHourFee":39,"hourFee":35,"economyFee":8,"minimumFee":4}

The currently used minimumFee is only enough to not get purged from the mempools with default settings and results in transactions stuck for days.
Proposing to use the hourFee instead which is the estimate to aim for a confirmation within the next 3 blocks. This would be a more realistic timeline but still tries to save some without increasing the complexity of the order flow.

See my comment also on: https://stacker.news/items/171335

@supertestnet supertestnet merged commit 18b6b68 into supertestnet:main Apr 29, 2023
@openoms openoms deleted the hourFee branch April 29, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants