Versions in this module Expand all Collapse all v0 v0.0.3 Aug 20, 2018 v0.0.2 Aug 14, 2018 v0.0.1 Jul 24, 2018 Changes in this version + type Address struct + func NewAddress(address string) (*Address, error) + func (address Address) Equal(other Address) bool + type ID []byte + func NewID() (ID, error) + func NewIDs(num int) ([]ID, error) + func (id ID) Equal(other ID) bool + func (id ID) String() string + type Node struct + Address *Address + ID ID + func NewNode(address *Address) *Node + func (node Node) Equal(other Node) bool + func (node Node) String() string + type Origin struct + Address *Address + IDs []ID + func NewOrigin(ids []ID, address *Address) (*Origin, error) + func (s *Origin) Contains(node *Node) bool