Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupClients ¶
SetupClients listen for client on the given port, it forwards their requests to the consensus algorithm and then applies them to the state machine SetupClients returns when setup is completed, spawning goroutines to listen for clients.
func SetupPeers ¶
func SetupPeers(localId int, addresses []config.NetAddress, peerNet *msgs.PeerNet, fail *msgs.FailureNotifier) error
SetupPeers is an async function to handle/start peer connections TODO: switch to sync function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.