package
0.1.0
Repository: https://github.com/openblockchain/obc-peer.git
Documentation: pkg.go.dev

# Functions

GetLocalAddress returns the address:port the local peer is operating on.
GetLocalIP returns the non loopback local IP of the host.
GetPeerEndpoint returns the PeerEndpoint for this Peer instance.
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.
NewPeerWithHandler returns a Peer which uses the supplied handler factory function for creating new handlers on new Chat service invocations.

# Structs

DuplicateHandlerError returned if attempt to register same chaincodeID while a stream already exists.
Handler peer handler implementation.
PeerImpl implementation of the Peer service.

# Interfaces

BlockChainAccessor interface for retreiving blocks by block number.
BlocksRetriever interface for retrieving blocks .
ChatStream interface supported by stream between Peers.
MessageHandler standard interface for handling Openchain messages.
MessageHandlerCoordinator responsible for coordinating between the registered MessageHandler's.
Peer provides interface for a peer.
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.

# Type aliases

No description provided by the author