# Functions
Adds vsOther to vs.
No description provided by the author
Copy each of iterable in vss into a new Set - note any iterations errors thrown by the iterable itself will be swallowed Use Write instead if source iterables may error.
No description provided by the author
Returns the asymmetric difference, diff, between two Sets such that applying diff to before results in after.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRing provides a sliding window over the last size buckets of validator power changes.
Create a new Validators which can act as an accumulator for validator power changes.
Like Set but removes entries when power is set to 0 this make Count() == CountNonZero() and prevents a set from leaking but does mean that a zero will not be iterated over when performing an update which is necessary in Ring.
Subtracts vsOther from vs.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Cache is just a Ring with no memory.
Ring stores the validator power history in buckets as a ring buffer.
A Validator multiset - can be used to capture the global state of validators or as an accumulator each block.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author