package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Structs
AnchorPeer is an anchor peer's certificate and endpoint (host:port).
PeerIdentityInfo aggregates a peer's identity, and also additional metadata about it.
PeerSignature defines a signature of a peer on a given message.
# Interfaces
ChannelNotifier is implemented by the gossip component and is used for the peer layer to notify the gossip component of a JoinChannel event.
JoinChannelMessage is the message that asserts a creation or mutation of a channel's membership list, and is the message that is gossipped among the peers.
MessageCryptoService is the contract between the gossip component and the peer's cryptographic layer and is used by the gossip component to verify, and authenticate remote peers and data they send, as well as to verify received blocks from the ordering service.
RoutingFilterFactory defines an object that given a CollectionCriteria and a channel, it can ascertain which peers should be aware of the data related to the CollectionCriteria.
SecurityAdvisor defines an external auxiliary object that provides security and identity related capabilities.
# Type aliases
OrgIdentityType defines the identity of an organization.
PeerIdentityFilter defines predicate function used to filter peer identities.
PeerIdentitySet aggregates a PeerIdentityInfo slice.
PeerIdentityType is the peer's certificate.
PeerSecureDialOpts returns the gRPC DialOptions to use for connection level security when communicating with remote peer endpoints.
PeerSuspector returns whether a peer with a given identity is suspected as being revoked, or its CA is revoked.
RoutingFilter defines which peers should receive a certain message, or which peers are eligible of receiving a certain message.
SubChannelSelectionCriteria describes a way of selecting peers from a sub-channel given their signatures.