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

blockservice: move to single unique struct and add WithContentBlocker option #561

Closed
wants to merge 1 commit into from

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Jan 15, 2024

This is the first option to fix the blockservice mess here.

The idea is to have a THE blockservice object, this means we wont ever have an issue where multiple competitive features play poorly with each other due to how nested blockservices could do.

Let's say we add multi-exchange based on content routing, do we want to have to handle the mess this could create with nested blockservices ?

It implements features for ipfs-shipyard/nopfs#34

I'll add changelog if we decide this is the option we want to go with.

@Jorropo
Copy link
Contributor Author

Jorropo commented Jan 15, 2024

Fails to build to due to upstream issues in tests. Gonna fix once we do a decision.

@Jorropo Jorropo force-pushed the blockservice-stop-using-NewWriteThrough-in-tests branch from afd5403 to b8ac21b Compare January 15, 2024 12:57
Base automatically changed from blockservice-stop-using-NewWriteThrough-in-tests to blockservice-opt January 15, 2024 17:20
@Jorropo Jorropo deleted the branch main January 15, 2024 17:21
@Jorropo Jorropo closed this Jan 15, 2024
@Jorropo Jorropo reopened this Jan 15, 2024
@Jorropo Jorropo changed the base branch from blockservice-opt to main January 15, 2024 17:24
…r` option

The idea is to have a THE blockservice object, this means we wont ever have an issue where multiple competitive features play poorly with each other due to how nested blockservices could do.

Let's say we add multi-exchange based on content routing, do we want to have to handle the mess this could create with nested blockservices ?

It implements features for ipfs-shipyard/nopfs#34.
@Jorropo
Copy link
Contributor Author

Jorropo commented Feb 16, 2024

We are going with #570

@Jorropo Jorropo closed this Feb 16, 2024
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.

1 participant