Versions in this module Expand all Collapse all v0 v0.0.1 Nov 6, 2024 Changes in this version + type PeerDistance struct + Distance *big.Int + type PeerDistances []*PeerDistance + func (pd PeerDistances) Len() int + func (pd PeerDistances) Less(i, j int) bool + func (pd PeerDistances) Swap(i, j int) + type SortedID struct + Distance *big.Int + ID peer.ID + Key []byte + Shard uint32 + type SortedList struct + Peers []SortedID + Ref SortedID + func (sl *SortedList) Len() int + func (sl *SortedList) Less(i int, j int) bool + func (sl *SortedList) SortedPeers() []peer.ID + func (sl *SortedList) Swap(i int, j int)