Versions in this module Expand all Collapse all v0 v0.0.2 Jun 27, 2023 v0.0.1 May 29, 2023 Changes in this version + const BlockSize + const LoadFactor + var BlocksBucket = []byte("blocks") + type Blockstore struct + func Open(directory string, name string, opts *gonudb.StoreOptions) (*Blockstore, error) + func (b *Blockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) + func (b *Blockstore) Close() error + func (b *Blockstore) DeleteBlock(context.Context, cid.Cid) error + func (b *Blockstore) Get(ctx context.Context, cid cid.Cid) (blocks.Block, error) + func (b *Blockstore) GetSize(ctx context.Context, cid cid.Cid) (int, error) + func (b *Blockstore) Has(ctx context.Context, cid cid.Cid) (bool, error) + func (b *Blockstore) HashOnRead(_ bool) + func (b *Blockstore) Put(ctx context.Context, block blocks.Block) error + func (b *Blockstore) PutMany(ctx context.Context, blocks []blocks.Block) error + type Options = gonudb.StoreOptions