Add mempool client and types to the workspace - #238
Draft
EliteCoder18 wants to merge 4 commits into
Draft
Conversation
EliteCoder18
force-pushed
the
feat/mempool-client-workspace
branch
from
August 11, 2026 06:02
0d7b979 to
9129385
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Depends on #229.
Addresses #210.
Closes #218.
Adds two new workspace crates:
mempool-typesandmempool-client.mempool-typescontains mempool.space-specific response types layered on top ofesplora-types.mempool-clientwrapsesplora-clientand adds mempool.space-specific/api/v1/*methods while still exposing the standard Esplora API surface, so downstream users can migrate by changing the dependency/import fromesplora-clienttomempool-client.Notes to the reviewers
mempool-clientandmempool-typesare currently experimental. This PR does not add dedicated integration tests. I plan to add reusable test utilities and endpoint coverage in a separate PR stacked on top of this one.esplora-typesandesplora-clientcrates #229 and should be reviewed againstfeat/esplora-types-workspaceuntil Split intoesplora-typesandesplora-clientcrates #229 lands.esplora-clienttomempool-clientas small as possible: update the dependency and import path, while retaining standard Esplora methods through the wrapped client./fee-estimatesmethod is kept for compatibility but marked deprecated inmempool-client; new code should useget_precise_fees()orget_recommended_fees().mempool-clientcan reuse the existing request, retry, and deserialization behavior instead of duplicating HTTP plumbing./api/v1/*surface.Changelog notice
mempool-typesandmempool-clientcrates for mempool.space REST API support