Skip to content

Commit

Permalink
holocene: fix frame queue specs of derivation (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianst authored and blmalone committed Sep 26, 2024
1 parent 2871025 commit 3e0555c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/protocol/holocene/derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ queue:

- If a _non-first frame_ (i.e., a frame with index >0) decoded from a batcher transaction is _out of
order_, it is **immediately dropped**, where the frame is called _out of order_ if
- the frame queue is empty, or
- the non-first frame has a different channel ID than the previous frame in the frame queue, or
- the previous frame already closed the channel with the same ID.
- its frame number is not the previous frame's plus one, if it has the same channel ID, or
- the previous frame already closed the channel with the same ID, or
- the non-first frame has a different channel ID than the previous frame in the frame queue.
- If a _first frame_ is decoded while the previous frame isn't a _last frame_ (i.e., `is_last` is
`false`), all previous frames for the same channel are dropped and this new first frame remains in
the queue.
Expand Down

0 comments on commit 3e0555c

Please sign in to comment.