Versions in this module Expand all Collapse all v0 v0.2.3 Jun 20, 2021 Changes in this version + var ErrDbClosed = errors.New("db closed") + type Storer interface + Cursors func(ctx context.Context) ([]uint64, error) + Get func(ctx context.Context, mode storage.ModeGet, addrs ...swarm.Address) ([]swarm.Chunk, error) + Has func(ctx context.Context, addr swarm.Address) (bool, error) + IntervalChunks func(ctx context.Context, bin uint8, from, to uint64, limit int) (chunks []swarm.Address, topmost uint64, err error) + Put func(ctx context.Context, mode storage.ModePut, chs ...swarm.Chunk) error + Set func(ctx context.Context, mode storage.ModeSet, addrs ...swarm.Address) error + func New(storer storage.Storer) Storer