Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + type Manager interface + GetValidatorSet func(ids.ID) (Set, bool) + PutValidatorSet func(ids.ID, Set) + RemoveValidatorSet func(ids.ID) + func NewManager() Manager + type Set interface + Add func(Validator) + Contains func(ids.ShortID) bool + Get func(ids.ShortID) (Validator, bool) + Len func() int + List func() []Validator + Remove func(ids.ShortID) + Sample func(size int) []Validator + Set func([]Validator) + func NewSet() Set + type Validator interface + ID func() ids.ShortID + Weight func() uint64 + func GenerateRandomValidator(weight uint64) Validator + func NewValidator(id ids.ShortID, weight uint64) Validator