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 retriever helps in querying the history
Click to show internal directories.
Click to hide internal directories.