Closed achingbrain closed 9 months ago
Instead of depending on the Helia Blocks interface, depend on Blockstore as none of the extra methods are used.
Blocks
Blockstore
This improves compatibility with other modules and allows reuse from non-Helia contexts.
future extensibility could be hindered by not having an abstraction layer?
Perhaps, but YAGNI and all that. We can re-evaluate if requirements change in the future.
Instead of depending on the Helia
Blocks
interface, depend onBlockstore
as none of the extra methods are used.This improves compatibility with other modules and allows reuse from non-Helia contexts.