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) NewQueryExecutor() (ledger.QueryExecutor, 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`
Click to show internal directories.
Click to hide internal directories.