# Packages
No description provided by the author
# Functions
CacheConfiguration computes and caches commonly-used constants and computed constants as package variables.
CreateChainFromBlock creates a new chain from config block.
GetChannelConfig returns the channel configuration of the chain with channel ID.
GetChannelsInfo returns an array with information about all channels for this peer.
GetClientCertificate returns the TLS certificate to use for gRPC client connections.
GetCurrConfigBlock returns the cached config block of the specified chain.
GetLedger returns the ledger of the chain with chain ID.
GetLocalAddress returns the peer.address property.
GetLocalIP returns the non loopback local IP of the host.
GetMSPIDs returns the ID of each application MSP defined on this chain.
No description provided by the author
GetPeerEndpoint returns peerEndpoint from cached configuration.
GetPolicyManager returns the policy manager of the chain with chain ID.
GetServerConfig returns the gRPC server configuration for the peer.
GetServerRootCAs returns the root certificates which will be trusted for gRPC client connections to peers and orderers.
GetStableChannelConfig returns the stable channel configuration of the chain with channel ID.
InitChain takes care to initialize chain after peer joined, for example deploys system CCs.
Initialize sets up any chains that the peer has from the persistence.
MockCreateChain used for creating a ledger for a chain for tests without having to join.
MockInitialize resets chains for test env.
No description provided by the author
NewChannelPolicyManagerGetter returns a new instance of ChannelPolicyManagerGetter.
NewConfigSupport returns.
NewDeliverEventsServer creates a peer.Deliver server to deliver block and filtered block events.
NewPeerServer creates an instance of comm.GRPCServer This server is used for peer communications.
SetCurrConfigBlock sets the current config block of the specified channel.
# Variables
No description provided by the author
Default provides in implementation of the Peer interface that provides access to the package level state.
No description provided by the author
No description provided by the author
# Structs
TODO: Remove CollectionSupport and respective methonds on them.
DeliverChainManager provides access to a channel for performing deliver.
No description provided by the author
# Interfaces
Operations exposes an interface to the package level functions that operated on singletons in the package.
OrdererOrg stores the per org orderer config.
Support gives access to peer resources and avoids calls to static methods.
SupportFactory is a factory of Support interfaces.
# Type aliases
PolicyCheckerProvider provides the corresponding policy checker for a given resource name.