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

server/btc: use external fee rates #2847

Merged
merged 3 commits into from
Jul 9, 2024
Merged

Conversation

buck54321
Copy link
Member

Replaces #2638, which was never merged to the release branch
Steps on #2769. Does not replace that work, but offers some patterns that I think are useful and should be adapted to Tatanka.

Enables external fee rate estimation for Bitcoin. estimatesmartfee is not always the best estimate and requires priming. We retain estimatesmartfee as a backup.

  • Sources have rank / priority
  • Sources have customizable refresh times
  • Registered APIs for Tatum and Blockdaemon are available via a new configuration file format option
  • A composite score is calculated based on the the valid scores from the best available priority group, with the weight of the individual score in the composite falling off over time after a period of full validity

dex/txfee/feefetcher.go Outdated Show resolved Hide resolved
dex/txfee/feefetcher.go Outdated Show resolved Hide resolved
@buck54321 buck54321 merged commit f41c91e into decred:master Jul 9, 2024
5 checks passed
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.

2 participants