package
2.0.0-alpha+incompatible
Repository: https://github.com/hyperledger-labs/fabric-block-archiving.git
Documentation: pkg.go.dev

# Functions

NewConf constructs new `Conf`.
NewProvider constructs a filesystem based block store provider.

# Constants

ChainsDir is the name of the directory containing the channel ledgers.
IndexDir is the name of the directory containing all block indexes across ledgers.

# Variables

ErrUnexpectedEndOfBlockfile error used to indicate an unexpected end of a file segment this can happen mainly if a crash occurs during appening a block and partial block contents get written towards the end of the file.

# Structs

Conf encapsulates all the configurations for `FsBlockStore`.
FsBlockstoreProvider provides handle to block storage - this is not thread-safe.