Versions in this module Expand all Collapse all v0 v0.2.0 Jun 28, 2018 Changes in this version + const DKGHashSize + const HashSize + const PKHashSize + const ProtocolVersion + var ErrNotImplemented = errors.New("not implemented") + var ZeroHash32B = Hash32B + type DKGHash [DKGHashSize]byte + type Hash32B [HashSize]byte + type PKHash [PKHashSize]byte v0.1.0 Apr 20, 2018 Changes in this version + var MachineEndian = binary.LittleEndian + type Dispatcher interface + HandleBroadcast func(proto.Message, chan bool) + HandleTell func(net.Addr, proto.Message, chan bool) + Start func() error + Stop func() error + type Node struct + Addr string + NetworkType string + func NewNode(n string, addr string) *Node + func NewTCPNode(addr string) *Node + func (n *Node) Network() string + func (n *Node) String() string