Versions in this module Expand all Collapse all v0 v0.2.0 Jun 28, 2018 Changes in this version + var ErrZeroDelegate = errors.New("zero delegates in the network") type ConfigBasedPool + func (cbdp *ConfigBasedPool) NumDelegatesPerEpoch() (uint, error) + func (cbdp *ConfigBasedPool) RollDelegates(epochNum uint64) ([]net.Addr, error) type Pool + NumDelegatesPerEpoch func() (uint, error) + RollDelegates func(uint64) ([]net.Addr, error) v0.1.0 Apr 20, 2018 Changes in this version + type ConfigBasedPool struct + func NewConfigBasedPool(delegate *config.Delegate) *ConfigBasedPool + func (cbdp *ConfigBasedPool) AllDelegates() ([]net.Addr, error) + func (cbdp *ConfigBasedPool) AnotherDelegate(self string) net.Addr + type Pool interface + AllDelegates func() ([]net.Addr, error) + AnotherDelegate func(self string) net.Addr