ledgerfsck

package
v0.0.0-...-ea48f79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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) InitCrypto

func (fsck *LedgerFsck) InitCrypto() error

InitCrypto

func (*LedgerFsck) Manager

func (fsck *LedgerFsck) Manager(channelID string) (policies.Manager, bool)

func (*LedgerFsck) OpenLedger

func (fsck *LedgerFsck) OpenLedger() error

OpenLedger

func (*LedgerFsck) ReadConfiguration

func (fsck *LedgerFsck) ReadConfiguration() error

ReadConfiguration read configuration parameters

func (*LedgerFsck) Verify

func (fsck *LedgerFsck) Verify() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL