Skip to main content

Module fifo_queue

Module fifo_queue 

Source
Expand description

Delta encoding for fixed-size SSZ FIFO queues.

A queue transition is represented as the number of items consumed from the front of the queue together with the raw SSZ bytes of newly appended items.

This encoding is suitable for append-only FIFO structures such as the Electra pending operation queues.

Functionsยง

apply_fifo_queue
Applies a FIFO queue delta in place.
diff_fifo_queue
Computes the delta between two serialized FIFO queues.