Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + func LoadPreResetHeight(blockstorePath string) (map[string]uint64, error) + func ResetBlockStore(blockstorePath string) error + func Rollback(blockstorePath, ledgerID string, blockNum uint64) error + func ValidateRollbackParams(blockstorePath, ledgerID string, blockNum uint64) error + type Provider struct + func NewProvider(metricsProvider metrics.Provider) *Provider + func (p *Provider) Close() + func (p *Provider) Exists(ledgerID string) (bool, error) + func (p *Provider) Open(ledgerid string) (*Store, error) + type Store struct + func (s *Store) CommitPvtDataOfOldBlocks(blocksPvtData map[uint64][]*ledger.TxPvtData) error + func (s *Store) CommitWithPvtData(blockAndPvtdata *ledger.BlockAndPvtData) error + func (s *Store) DoesPvtDataInfoExist(blockNum uint64) (bool, error) + func (s *Store) GetLastUpdatedOldBlocksPvtData() (map[uint64][]*ledger.TxPvtData, error) + func (s *Store) GetMissingPvtDataInfoForMostRecentBlocks(maxBlock int) (ledger.MissingPvtDataInfo, error) + func (s *Store) GetPvtDataAndBlockByNum(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error) + func (s *Store) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error) + func (s *Store) Init(btlPolicy pvtdatapolicy.BTLPolicy) + func (s *Store) IsPvtStoreAheadOfBlockStore() bool + func (s *Store) ProcessCollsEligibilityEnabled(committingBlk uint64, nsCollMap map[string][]string) error + func (s *Store) ResetLastUpdatedOldBlocksList() error