Skip to content

Make mempool fee API URL configurable - #2069

Merged
FelicianoTech merged 1 commit into
wtfutil:trunkfrom
Bortlesboat:satoshi-compatible-fee-url-20260430
Jun 27, 2026
Merged

FelicianoTech merged 1 commit into
wtfutil:trunkfrom
Bortlesboat:satoshi-compatible-fee-url-20260430

Conversation

@Bortlesboat

Copy link
Copy Markdown
Contributor

This keeps the mempool widget defaulting to mempool.space, but lets users set an alternate compatible fee endpoint with apiURL.

I work on Satoshi API, so the concrete use case I tested this against is a mempool-compatible hosted fee endpoint:

https://bitcoinsapi.com/api/v1/compat/mempool/fees/recommended

The change is intentionally generic: no default changes, no new dependency, and self-hosted mempool.space-compatible URLs work the same way.

Verification:

  • go test ./modules/cryptocurrency/mempool not run locally because go/gofmt are not installed in this Windows environment.
  • git diff --check passed.

@FelicianoTech FelicianoTech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@FelicianoTech FelicianoTech added this to the v0.51 milestone Jun 27, 2026
@FelicianoTech
FelicianoTech merged commit 5ea12d4 into wtfutil:trunk Jun 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址