+2
-1
recording_blockstore/recording_blockstore.go
+2
-1
recording_blockstore/recording_blockstore.go
···
2
3
import (
4
"context"
5
6
blockformat "github.com/ipfs/go-block-format"
7
"github.com/ipfs/go-cid"
···
58
}
59
60
func (bs *RecordingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
61
-
return bs.AllKeysChan(ctx)
62
}
63
64
func (bs *RecordingBlockstore) HashOnRead(enabled bool) {
···
2
3
import (
4
"context"
5
+
"fmt"
6
7
blockformat "github.com/ipfs/go-block-format"
8
"github.com/ipfs/go-cid"
···
59
}
60
61
func (bs *RecordingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
62
+
return nil, fmt.Errorf("iteration not allowed on recording blockstore")
63
}
64
65
func (bs *RecordingBlockstore) HashOnRead(enabled bool) {
+1
-1
sqlite_blockstore/sqlite_blockstore.go
+1
-1
sqlite_blockstore/sqlite_blockstore.go