package
0.0.0-20230125193903-4e4ac5f346a4
Repository: https://github.com/yonggewang/bdls.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewTCPAgent initiate a TCPAgent which talks consensus protocol with peers.
NewTCPPeer creates a TCPPeer with protocol over this connection.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Message max length(32MB).
Frame format: |MessageLength(4bytes)| Message(MessageLength) ..
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Gossip defines a stream based protocol.
No description provided by the author
No description provided by the author
No description provided by the author
A TCPAgent binds consensus core to a TCPAgent object, which may have multiple TCPPeer.
TCPPeer represents a peer(endpoint) related to a tcp connection.
# Type aliases
CommandType defines supported commands.