Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + var ConfigTxProcessors = customtx.Processors + var TransientStoreFactory = &storeProvider + func CacheConfiguration() (err error) + func CreateChainFromBlock(cb *common.Block, ccp ccprovider.ChaincodeProvider, ...) error + func GetChannelConfig(cid string) channelconfig.Resources + func GetChannelsInfo() []*pb.ChannelInfo + func GetClientCertificate() (tls.Certificate, error) + func GetCurrConfigBlock(cid string) *common.Block + func GetLedger(cid string) ledger.PeerLedger + func GetLocalAddress() (string, error) + func GetLocalIP() string + func GetMSPIDs(cid string) []string + func GetOrdererAddressOverrides() (map[string]*comm.OrdererEndpoint, error) + func GetPeerEndpoint() (*pb.PeerEndpoint, error) + func GetPolicyManager(cid string) policies.Manager + func GetServerConfig() (comm.ServerConfig, error) + func GetServerRootCAs() ([][]byte, error) + func GetStableChannelConfig(cid string) channelconfig.Resources + func InitChain(cid string) + func Initialize(init func(string), ccp ccprovider.ChaincodeProvider, ...) + func MockCreateChain(cid string) error + func MockInitialize() + func MockSetMSPIDGetter(mspIDGetter func(string) []string) + func NewChannelPolicyManagerGetter() policies.ChannelPolicyManagerGetter + func NewConfigSupport() cc.Manager + func NewDeliverEventsServer(mutualTLS bool, policyCheckerProvider PolicyCheckerProvider, ...) peer.DeliverServer + func NewPeerServer(listenAddress string, serverConfig comm.ServerConfig) (*comm.GRPCServer, error) + func SetCurrConfigBlock(block *common.Block, cid string) error + type CollectionSupport struct + func (*CollectionSupport) GetIdentityDeserializer(chainID string) msp.IdentityDeserializer + func (cs *CollectionSupport) GetQueryExecutorForLedger(cid string) (ledger.QueryExecutor, error) + type DeliverChainManager struct + func (DeliverChainManager) GetChain(chainID string) deliver.Chain + type Operations interface + CreateChainFromBlock func(cb *common.Block, ccp ccprovider.ChaincodeProvider, ...) error + GetChannelConfig func(cid string) channelconfig.Resources + GetChannelsInfo func() []*pb.ChannelInfo + GetCurrConfigBlock func(cid string) *common.Block + GetLedger func(cid string) ledger.PeerLedger + GetMSPIDs func(cid string) []string + GetPolicyManager func(cid string) policies.Manager + InitChain func(cid string) + Initialize func(init func(string), ccp ccprovider.ChaincodeProvider, ...) + var Default Operations = &peerImpl{ ... } + type OrdererEndpoint struct + Address string + PEMs []byte + type OrdererOrg interface + Endpoints func() []string + type PolicyCheckerProvider func(resourceName string) deliver.PolicyCheckerFunc + type Support interface + GetApplicationConfig func(cid string) (channelconfig.Application, bool) + var DefaultSupport Support = &supportImpl{ ... } + type SupportFactory interface + NewSupport func() Support