Documentation ¶
Index ¶
- type LedgerFsck
- func (fsck *LedgerFsck) GetLatestChannelConfigBundle() error
- func (fsck *LedgerFsck) InitAndVerify() (bool, error)
- func (fsck *LedgerFsck) InitCrypto() error
- func (fsck *LedgerFsck) Manager(channelID string) (policies.Manager, bool)
- func (fsck *LedgerFsck) OpenLedger() error
- func (fsck *LedgerFsck) ReadConfiguration() error
- func (fsck *LedgerFsck) Verify() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LedgerFsck ¶
type LedgerFsck struct { ChannelName string MspConfigPath string MspID string MspType string Ledger ledger.PeerLedger // contains filtered or unexported fields }
LedgerFsck is arguments data for verification of blocks
func (*LedgerFsck) GetLatestChannelConfigBundle ¶
func (fsck *LedgerFsck) GetLatestChannelConfigBundle() error
GetLatestChannelConfigBundle
func (*LedgerFsck) InitAndVerify ¶
func (fsck *LedgerFsck) InitAndVerify() (bool, error)
func (*LedgerFsck) Manager ¶
func (fsck *LedgerFsck) Manager(channelID string) (policies.Manager, bool)
func (*LedgerFsck) ReadConfiguration ¶
func (fsck *LedgerFsck) ReadConfiguration() error
ReadConfiguration read configuration parameters
func (*LedgerFsck) Verify ¶
func (fsck *LedgerFsck) Verify() bool
Click to show internal directories.
Click to hide internal directories.