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

# Packages

No description provided by the author

# Functions

NewLedgerCommitter is a factory function to create an instance of the committer which passes incoming blocks via validation and commits them into the ledger.
NewLedgerCommitterReactive is a factory function to create an instance of the committer same as way as NewLedgerCommitter, while also provides an option to specify callback to be called upon new configuration block arrival and commit event.

# Structs

LedgerCommitter is the implementation of Committer interface it keeps the reference to the ledger to commit blocks and retrieve chain information.

# Interfaces

Committer is the interface supported by committers The only committer is noopssinglechain committer.
PeerLedgerSupport abstract out the API's of ledger.PeerLedger interface required to implement LedgerCommitter.

# Type aliases

ConfigBlockEventer callback function proto type to define action upon arrival on new configuaration update block.