Documentation
¶
Overview ¶
Package Node contains node logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
Node represents an MVDS node, it runs all the logic like sending and receiving protocol messages.
func NewNode ¶
func NewNode( ms store.MessageStore, st transport.Transport, ss state.SyncState, nextEpoch calculateNextEpoch, currentEpoch int64, id state.PeerID, mode Mode, ) *Node
NewNode returns a new node.
func (*Node) AppendMessage ¶
AppendMessage sends a message to a given group.
func (Node) IsPeerInGroup ¶
IsPeerInGroup checks whether a peer is in the specified group.
Click to show internal directories.
Click to hide internal directories.