boxo icon indicating copy to clipboard operation
boxo copied to clipboard

blockstore: remove HashOnRead

Open lidel opened this issue 2 years ago • 0 comments

Filling issue based on poc code in https://github.com/ipfs/go-ipfs-blockstore/pull/51:

Instead, provide a simple ValidatingBlockstore wrapper. This:

  1. Isn't racy (fixes https://github.com/ipfs/go-ipfs-blockstore/issues/49).
  2. Keeps the base blockstore simple.

:point_right: Really, "HashOnRead" should never have been a part of the blockstore API in the first place.

lidel avatar Jun 19 '23 13:06 lidel