Skip to main content

Module sync_committee

Module sync_committee 

Source
Expand description

Delta encoding for Ethereum sync committees.

Sync committees are static for the duration of a sync committee period (256 epochs on Mainnet). Because a standard 32-epoch diff window almost never crosses a period boundary, this module simply checks for equality and emits a full replacement only when the committee actually changes.

Functionsยง

apply_sync_committee
Applies a sync committee delta in place.
diff_sync_committee
Computes the delta between two sync committees.