Versions in this module Expand all Collapse all v1 v1.4.9 Sep 30, 2020 Changes in this version + var ErrLedgerIDExists = errors.New("LedgerID already exists") + var ErrLedgerNotOpened = errors.New("ledger is not opened yet") + var ErrNonExistingLedgerID = errors.New("LedgerID does not exist") + func ClearPreResetHeight() error + func LoadPreResetHeight() (map[string]uint64, error) + func NewProvider() (ledger.PeerLedgerProvider, error) + func ResetAllKVLedgers() error + func RollbackKVLedger(ledgerID string, blockNum uint64) error + type Provider struct + func (provider *Provider) Close() + func (provider *Provider) Create(genesisBlock *common.Block) (ledger.PeerLedger, error) + func (provider *Provider) Exists(ledgerID string) (bool, error) + func (provider *Provider) Initialize(initializer *ledger.Initializer) error + func (provider *Provider) List() ([]string, error) + func (provider *Provider) Open(ledgerID string) (ledger.PeerLedger, error) Incompatible versions in this module v2.1.1+incompatible Jun 1, 2020