Expand description
Delta encoding for the Eth1 data vote list.
The vote list is monotonic within an Eth1 voting period but is reset when the voting period changes. This module encodes both cases compactly:
- Appending newly added votes to the existing list.
- Replacing the entire list after a reset.
Functionsยง
- apply_
eth1_ votes - Applies an Eth1 data vote delta in place.
- diff_
eth1_ votes - Computes the delta between two serialized Eth1 data vote lists.