This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
Enhancement: Remove dependency on IPFS Blockservice #260
Closed
Description
- Version: 0.25.3
- Platform: All
- Subsystem:
Type: Enhancement
Severity: Very Low
Description: IPLD requires a Blockservice but does not define the interface for this Blockservice in the specs or code. It uses the ipfs-block-service in its example usage and tests thus creating a "soft" dependency on IPFS. This soft dependency can create confusion because ipfs-block-service provides both a block repository (which IPLD needs) and bitswap (which IPLD does not use). IPLD understandability would be improved if it was fully self contained without any dependency on IPFS. To accomplish this, the API interface should be defined in the IPLD project along with local implementations. Since IPLD just needs a repo, it would make sense to name this interface something like ipld-block-repository to avoid confusion with the ipfs-block-service which also adds in bitswap functionality. Examples showing how to use IPLD with ipfs-block-service can be provided, but would not be the default.
Steps to reproduce the error: N/A
Metadata
Metadata
Assignees
Labels
No labels