Versions in this module Expand all Collapse all v1 v1.4.1 Mar 1, 2023 Changes in this version + type PSlice struct + func New(maxBins int, base boson.Address) *PSlice + func (s *PSlice) Add(addrs ...boson.Address) + func (s *PSlice) BinPeers(bin uint8) []boson.Address + func (s *PSlice) BinSize(bin uint8) int + func (s *PSlice) EachBin(pf model.EachPeerFunc) error + func (s *PSlice) EachBinRev(pf model.EachPeerFunc) error + func (s *PSlice) Exists(addr boson.Address) bool + func (s *PSlice) Length() int + func (s *PSlice) Remove(addr boson.Address) + func (s *PSlice) ShallowestEmpty() (uint8, bool)