Skip to content

feat: Add back builder for blobs protocol #129

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rklaehn
Copy link
Collaborator

@rklaehn rklaehn commented Jul 28, 2025

Description

We used to have a builder in iroh-blobs. This brings it back. It does not have as many options as the previous one, but there will be more, probably.

I left the BlobsProtocol::new public for now. We can make it private if the options become too many. There will probably be minor changes related to how the provider events work, so people that don't need those are probably best served using the builder.

Breaking Changes

None

Notes & open questions

Make new private right now?
Note: I somewhat dislike the BlobsProtocol::memory().build() style compared to explicitly creating a store, since it often means that you do preliminary work like importing data while the blobs protocol is already listening. But YMMV.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

Copy link

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-blobs/pr/129/docs/iroh_blobs/

Last updated: 2025-07-28T08:56:12Z

@n0bot n0bot bot added this to iroh Jul 28, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

1 participant