confighistory

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 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 retriever 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