An atproto PDS written in Go

fix

Changed files
+3 -2
recording_blockstore
sqlite_blockstore
+2 -1
recording_blockstore/recording_blockstore.go
···
import (
"context"
+
"fmt"
blockformat "github.com/ipfs/go-block-format"
"github.com/ipfs/go-cid"
···
}
func (bs *RecordingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
-
return bs.AllKeysChan(ctx)
+
return nil, fmt.Errorf("iteration not allowed on recording blockstore")
}
func (bs *RecordingBlockstore) HashOnRead(enabled bool) {
+1 -1
sqlite_blockstore/sqlite_blockstore.go
···
}
func (bs *SqliteBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
-
panic("not implemented")
+
return nil, fmt.Errorf("iteration not allowed on sqlite blockstore")
}
func (bs *SqliteBlockstore) HashOnRead(enabled bool) {