# Packages
No description provided by the author
# Functions
CacheConfiguration computes and caches commonly-used constants and computed constants as package variables.
GetLocalAddress returns the peer.address property.
GetLocalIP returns the non loopback local IP of the host.
GetPeerEndpoint returns peerEndpoint from cached configuration.
NewPeerClientConnection Returns a new grpc.ClientConn to the configured local PEER.
NewPeerClientConnectionWithAddress Returns a new grpc.ClientConn to the configured local PEER.
NewPeerHandler returns a new Peer handler Is instance of HandlerFactory.
NewPeerWithEngine returns a Peer which uses the supplied handler factory function for creating new handlers on new Chat service invocations.
NewPeerWithHandler returns a Peer which uses the supplied handler factory function for creating new handlers on new Chat service invocations.
SecurityEnabled returns the securityEnabled property from cached configuration.
SyncBlocksChannelSize returns the peer.sync.blocks.channelSize property.
SyncStateDeltasChannelSize returns the peer.sync.state.deltas.channelSize property.
SyncStateSnapshotChannelSize returns the peer.sync.state.snapshot.channelSize property.
ValidatorEnabled returns the peer.validator.enabled property.
# Constants
No description provided by the author
# Structs
DuplicateHandlerError returned if attempt to register same chaincodeID while a stream already exists.
Handler peer handler implementation.
Impl implementation of the Peer service.
# Interfaces
BlockChainAccessor interface for retreiving blocks by block number.
BlockChainModifier interface for applying changes to the block chain.
BlockChainUtil interface for interrogating the block chain.
BlocksRetriever interface for retrieving blocks .
ChatStream interface supported by stream between Peers.
Discoverer enables a peer to access/persist/restore its discovery list.
DiscoveryAccessor enables a peer to hand out its discovery object.
DiscoveryPersistor enables a peer to persist/restore its discovery list to/from the database.
Engine Responsible for managing Peer network communications (Handlers) and processing of Transactions.
MessageHandler standard interface for handling Openchain messages.
MessageHandlerCoordinator responsible for coordinating between the registered MessageHandler's.
Peer provides interface for a peer.
Persistor enables a peer to persist and restore data to the database TODO Move over the persist package from consensus down to the peer level.
RemoteLedger interface for retrieving remote ledger data.
SecurityAccessor interface enables a Peer to hand out the crypto object for Peer.
StateAccessor interface for retreiving blocks by block number.
StateRetriever interface for retrieving state deltas, etc.
TransactionProccesor responsible for processing of Transactions.
# Type aliases
EngineFactory for creating new engines.
HandlerFactory for creating new MessageHandlers.