Versions in this module Expand all Collapse all v2 v2.1.0 Dec 10, 2023 Changes in this version + const SHIFT v2.0.1 Dec 3, 2023 Changes in this version + const ACK + const CACHE_SIZE + const CLOSEST_PRECEDING_NODE + const EMPTY + const FIND_SUCCESSOR + const GET + const GETSOME + const GET_PREDECESSOR + const GET_SUCCESSOR + const M + const NOTIFY + const PING + const PUT + const REPLICATE + const REPLICATION_FACTOR + type LRUCache struct + type Node struct + CacheTime uint64 + CachedQuery map[uint64]LRUCache + FingerTable []Pointer + HashIPStorage map[uint64]map[uint64][]string + IP string + Nodeid uint64 + Predecessor Pointer + SuccList []Pointer + Successor Pointer + func (node *Node) CallRPC(msg message.RequestMessage, IP string) message.ResponseMessage + func (node *Node) CheckPredecessor() + func (node *Node) ClosestPrecedingNode(id uint64) Pointer + func (node *Node) CreateNetwork() + func (node *Node) FindSuccessor(id uint64, hopCount int) (Pointer, int) + func (node *Node) FixFingers() + func (node *Node) GetQuery(hashedId uint64) []string + func (node *Node) GetShiftRecords(prececId uint64) map[uint64][]string + func (node *Node) HandleIncomingMessage(msg *message.RequestMessage, reply *message.ResponseMessage) error + func (node *Node) JoinNetwork(helper string) + func (node *Node) Notify(x Pointer) bool + func (node *Node) PrintCache() + func (node *Node) PrintFingers() + func (node *Node) PrintPredecessor() + func (node *Node) PrintStorage() + func (node *Node) PrintSuccessor() + func (node *Node) PutQuery(succesorId uint64, payload map[uint64][]string) bool + func (node *Node) QueryDNS(website string) + type Pointer struct + IP string + Nodeid uint64