Versions in this module Expand all Collapse all v0 v0.7.1 Sep 14, 2022 v0.7.0 Jul 8, 2022 Changes in this version + type PSlice struct + func New(maxBins int, base swarm.Address) *PSlice + func (s *PSlice) Add(addrs ...swarm.Address) + func (s *PSlice) BinPeers(bin uint8) []swarm.Address + func (s *PSlice) BinSize(bin uint8) int + func (s *PSlice) EachBin(pf topology.EachPeerFunc) error + func (s *PSlice) EachBinRev(pf topology.EachPeerFunc) error + func (s *PSlice) Exists(addr swarm.Address) bool + func (s *PSlice) Length() int + func (s *PSlice) Remove(addr swarm.Address) + func (s *PSlice) ShallowestEmpty() (uint8, bool)