confighistory

package
v0.0.0-...-c3b3142 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LedgerInfoRetriever

type LedgerInfoRetriever interface {
	GetBlockchainInfo() (*common.BlockchainInfo, error)
}

LedgerInfoRetriever retrieves the relevant info from ledger

type Mgr

type Mgr interface {
	ledger.StateListener
	GetRetriever(ledgerID string, ledgerInfoRetriever LedgerInfoRetriever) ledger.ConfigHistoryRetriever
	Close()
}

Mgr should be registered as a state listener. The state listener builds the history and retriver helps in querying the history

func NewMgr

func NewMgr(ccInfoProvider ledger.DeployedChaincodeInfoProvider) Mgr

NewMgr constructs an instance that implements interface `Mgr`

Jump to

Keyboard shortcuts

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