Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + const DefMsgExpirationTimeout + func GenerateMAC(pkiID common.PKIidType, channelID common.ChainID) []byte + type Adapter interface + DeMultiplex func(interface{}) + Forward func(message proto.ReceivedMessage) + GetConf func() Config + GetIdentityByPKIID func(pkiID common.PKIidType) api.PeerIdentityType + GetMembership func() []discovery.NetworkMember + GetOrgOfPeer func(pkiID common.PKIidType) api.OrgIdentityType + Gossip func(message *proto.SignedGossipMessage) + Lookup func(PKIID common.PKIidType) *discovery.NetworkMember + Send func(msg *proto.SignedGossipMessage, peers ...*comm.RemotePeer) + Sign func(msg *proto.GossipMessage) (*proto.SignedGossipMessage, error) + ValidateStateInfoMessage func(message *proto.SignedGossipMessage) error + type Config struct + BlockExpirationInterval time.Duration + DigestWaitTime time.Duration + ID string + MaxBlockCountToStore int + MsgExpirationTimeout time.Duration + PublishStateInfoInterval time.Duration + PullInterval time.Duration + PullPeerNum int + RequestStateInfoInterval time.Duration + RequestWaitTime time.Duration + ResponseWaitTime time.Duration + StateInfoCacheSweepInterval time.Duration + TimeForMembershipTracker time.Duration + type GossipChannel interface + AddToMsgStore func(msg *proto.SignedGossipMessage) + ConfigureChannel func(joinMsg api.JoinChannelMessage) + EligibleForChannel func(member discovery.NetworkMember) bool + GetPeers func() []discovery.NetworkMember + HandleMessage func(proto.ReceivedMessage) + IsMemberInChan func(member discovery.NetworkMember) bool + IsOrgInChannel func(membersOrg api.OrgIdentityType) bool + LeaveChannel func() + PeerFilter func(api.SubChannelSelectionCriteria) filter.RoutingFilter + Self func() *proto.SignedGossipMessage + Stop func() + UpdateChaincodes func(chaincode []*proto.Chaincode) + UpdateLedgerHeight func(height uint64) + func NewGossipChannel(pkiID common.PKIidType, org api.OrgIdentityType, mcs api.MessageCryptoService, ...) GossipChannel