Versions in this module Expand all Collapse all v1 v1.8.25 Apr 9, 2019 v1.8.24 Apr 8, 2019 Changes in this version + func DefaultPof(max int) func(one, other Val, pos int) (int, bool) + func Label(v Val) string + func NewAddressFromString(s string) []byte + func ProxCmp(a, x, y interface{}) int + func ToBin(a []byte) string + func ToBytes(v Val) []byte + type Address common.Hash + func NewAddressFromBytes(b []byte) Address + func RandomAddress() Address + func RandomAddressAt(self Address, prox int) (addr Address) + func (a *Address) MarshalJSON() (out []byte, err error) + func (a *Address) UnmarshalJSON(value []byte) error + func (a Address) Bin() string + func (a Address) Bytes() []byte + func (a Address) String() string + type BytesAddress interface + Address func() []byte + type Pof func(Val, Val, int) (int, bool) + type Pot struct + func Add(t *Pot, val Val, pof Pof) (*Pot, int, bool) + func NewPot(v Val, po int) *Pot + func Remove(t *Pot, v Val, pof Pof) (*Pot, int, bool) + func Swap(t *Pot, k Val, pof Pof, f func(v Val) Val) (r *Pot, po int, found bool, change bool) + func Union(t0, t1 *Pot, pof Pof) (*Pot, int) + func (t *Pot) Each(f func(Val) bool) bool + func (t *Pot) EachBin(val Val, pof Pof, po int, f func(int, int, func(func(val Val) bool) bool) bool) + func (t *Pot) EachNeighbour(val Val, pof Pof, f func(Val, int) bool) bool + func (t *Pot) EachNeighbourAsync(val Val, pof Pof, max int, maxPos int, f func(Val, int), wait bool) + func (t *Pot) Pin() Val + func (t *Pot) Size() int + func (t *Pot) String() string + type Val interface Incompatible versions in this module v2.3.0+incompatible May 22, 2019