batchstore

package
v0.0.0-...-eb12069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("batchstore: not found")

ErrNotFound signals that the element was not found.

View Source
var ErrStorageRadiusExceeds = errors.New("batchstore: storage radius must not exceed reserve radius")

Functions

func New

func New(st storage.StateStorer, ev evictFn, capacity int, logger log.Logger) (postage.Storer, error)

New constructs a new postage batch store. It initialises both chain state and reserve state from the persistent state store.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL