package
0.5.0
Repository: https://github.com/madbase/madnet.git
Documentation: pkg.go.dev

# Interfaces

BootNodeServer implements the Discovery server service from the protobuf definition.
DiscoveryClient implements the Discovery client service from the protobuf definition.
DiscoveryServer implements the Discovery server service from the protobuf definition.
KeyResolver allows a service to request a key from an object conforming to the interface.
Lockable allows a mutex to be shared by interface.
The NodeAddr interface implements net.Addr and other functionality needed for the identification of peer to peer clients.
P2PClient implements the P2P client service from the protobuf definition and extends it for connection management.
P2PClientRaw implements the P2P client service from the protobuf definition.
P2PConn is the connection interface for the transport.
P2PMux handles the handshake protocol of the multiplexing protocol.
P2PMuxConn is a multiplexed P2PConn as is returned by the P2PMuxTransport.
P2PServer implements the P2P server service from the protobuf definition.
P2PTransport is the interface that defines what the peer to peer transport object must conform to.
Peer is an element of the peer tree.
PeerLease allows a service to obtain a Peer for sending data via closures.
PeerSubscription allows a service to maintain an in sync copy of all active peers for the purpose of requesting data or tracking sent/rcvd msgs.
RPCListener binds a P2PConn to a grpc server through connection injection.
StateServer implements the State server service from the protobuf definition.
Transaction is the minimum interface a transaction must meet for the consensus algorithm to work.