Skip to content

Commit

Permalink
Some tweaks to the batch derivation spec (#365)
Browse files Browse the repository at this point in the history
* replace "window" with "channel"

"window" is not defined

* remove implication that a frame from the next channel will be bigger than the final fram of the previous channel

this is contradicted by the diagram

* move section referencing "channel identification feature"

This is jarring to read as no channel identification material is in scope in this section.

* do not render sentence as footnote

This looks wrong when I run `just serve` (it displays the footnote in place instead of at the bottom of the document).

* change L2 tx pool -> L1 tx pool

I don't believe the batcher is concerned with the L2 tx pool

* change blocks -> batches

staying true to the "subtle but important" distinction

* lint

* remove empty file

* remove speculative paragraph
  • Loading branch information
geoknee authored Sep 9, 2024
1 parent 604101b commit 7f10031
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions specs/protocol/derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,9 @@ into chunks known as [channel frames][g-channel-frame]. A single batcher transac

This design gives use the maximum flexibility in how we aggregate batches into channels, and split channels over batcher
transactions. It notably allows us to maximize data utilization in a batcher transaction: for instance it allows us to
pack the final (small) frame of a window with large frames from the next window.
pack the final (small) frame of one channel with one or more frames from the next channel.

In the future this channel identification feature also allows the [batcher][g-batcher] to employ multiple signers
(private keys) to submit one or multiple channels in parallel (1).

(1) This helps alleviate issues where, because of transaction nonce values affecting the L2 tx-pool and thus inclusion:
multiple transactions made by the same signer are stuck waiting on the inclusion of a previous transaction.

Also note that we use a streaming compression scheme, and we do not need to know how many blocks a channel will end up
Also note that we use a streaming compression scheme, and we do not need to know how many batches a channel will end up
containing when we start a channel, or even as we send the first frames in the channel.

And by splitting channels across multiple data transactions, the L2 can have larger block data than the
Expand Down

0 comments on commit 7f10031

Please sign in to comment.