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)
}
LedgerForeTrier从Ledger中检索相关信息
type Mgr ¶
type Mgr interface { ledger.StateListener GetRetriever(ledgerID string, ledgerInfoRetriever LedgerInfoRetriever) ledger.ConfigHistoryRetriever Close() }
管理器应注册为状态侦听器。状态侦听器构建历史记录,检索器帮助查询历史记录
func NewMgr ¶
func NewMgr(ccInfoProvider ledger.DeployedChaincodeInfoProvider) Mgr
newmgr构造实现接口“mgr”的实例
Click to show internal directories.
Click to hide internal directories.