boxo
boxo copied to clipboard
blockstore: remove HashOnRead
Filling issue based on poc code in https://github.com/ipfs/go-ipfs-blockstore/pull/51:
Instead, provide a simple
ValidatingBlockstorewrapper. This:
- Isn't racy (fixes https://github.com/ipfs/go-ipfs-blockstore/issues/49).
- Keeps the base blockstore simple.
:point_right: Really, "HashOnRead" should never have been a part of the blockstore API in the first place.