package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Functions
HaveExternalEndpoints selects network members that have external endpoints.
NewDiscoveryService returns a new discovery service with the comm module passed and the crypto service passed.
# Structs
NetworkMember is a peer's representation.
PeerIdentification encompasses a remote peer's PKI-ID and whether its in the same org as the current peer or not.
# Interfaces
AnchorPeerTracker is an interface that is passed to discovery to check if an endpoint is an anchor peer.
CommService is an interface that the discovery expects to be implemented and passed on creation.
CryptoService is an interface that the discovery expects to be implemented and passed on creation.
Discovery is the interface that represents a discovery module.
# Type aliases
DisclosurePolicy defines which messages a given remote peer is eligible of knowing about, and also what is it eligible to know about out of a given SignedGossipMessage.
EnvelopeFilter may or may not remove part of the Envelope that the given SignedGossipMessage originates from.
Members represents an aggregation of NetworkMembers.
Sieve defines the messages that are allowed to be sent to some remote peer, based on some criteria.