Skip to content

Make mempool fee API URL configurable#2069

Open
Bortlesboat wants to merge 1 commit into
wtfutil:trunkfrom
Bortlesboat:satoshi-compatible-fee-url-20260430
Open

Make mempool fee API URL configurable#2069
Bortlesboat wants to merge 1 commit into
wtfutil:trunkfrom
Bortlesboat:satoshi-compatible-fee-url-20260430

Conversation

@Bortlesboat
Copy link
Copy Markdown

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.

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.

1 participant