Skip to main content

Module eth1_data_votes

Module eth1_data_votes 

Source
Expand description

Delta encoding for the Eth1 data vote list.

Eth1 data votes accumulate during an Eth1 voting period and are reset when the voting period changes. This module represents those transitions using either an append-only update or a complete replacement.

The delta operates directly on the serialized SSZ representation and does not deserialize individual Eth1 data values.

Functionsยง

apply_eth1_votes
Applies an Eth1 data vote delta to a serialized vote list in place.
diff_eth1_votes
Computes a delta between two serialized Eth1 data vote lists.