Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
ac36a2ca
Unverified
Commit
ac36a2ca
authored
Jun 20, 2023
by
protolambda
Committed by
GitHub
Jun 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specs: span-batches review suggestion typo fixes
Co-authored-by:
refcell.eth
<
abigger87@gmail.com
>
parent
42e4bcc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
span-batches.md
specs/span-batches.md
+2
-2
No files found.
specs/span-batches.md
View file @
ac36a2ca
...
...
@@ -72,7 +72,7 @@ Where:
-
`rel_timestamp`
: relative time since genesis, i.e.
`anchor.timestamp - config.genesis.timestamp`
.
-
`parent_check`
: first 20 bytes of parent hash, i.e.
`anchor.parent_hash[:20]`
.
-
`l1_origin_check`
: to ensure the intended L1 origins of this span of
L2 blocks are consistent with the L1 chain, the blockhash of the last L1 origi is referenced.
L2 blocks are consistent with the L1 chain, the blockhash of the last L1 origi
n
is referenced.
The hash is truncated to 20 bytes for efficiency, i.e.
`anchor.l1_origin.hash[:20]`
.
-
`payload = block_count ++ block_tx_counts ++ tx_data_headers ++ tx_data + tx_sigs`
:
-
`block_count`
:
`uvarint`
number of L2 blocks.
...
...
@@ -186,7 +186,7 @@ although not strictly a "v0 batch" anymore.
### Batcher
Instead of transforming L2 blocks into batches
a channel
,
Instead of transforming L2 blocks into batches,
the blocks should be buffered to form a span-batch.
Ideally the L2 blocks are buffered as block-inputs, to maximize the span of blocks covered by the span-batch:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment