Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + func New(directory string, metricsProvider metrics.Provider) blockledger.Factory + type FileLedger struct + func NewFileLedger(blockStore FileLedgerBlockStore) *FileLedger + func (fl *FileLedger) Append(block *cb.Block) error + func (fl *FileLedger) Height() uint64 + func (fl *FileLedger) Iterator(startPosition *ab.SeekPosition) (blockledger.Iterator, uint64) + type FileLedgerBlockStore interface + AddBlock func(block *cb.Block) error + GetBlockchainInfo func() (*cb.BlockchainInfo, error) + RetrieveBlocks func(startBlockNumber uint64) (ledger.ResultsIterator, error)