Expand description
Defines traits and types used by the rollup to verify claims about the DA layer.
Structs§
- Counted
BufReader - Simple structure that implements the Read trait for a buffer and counts the number of bytes read from the beginning. Useful for the partial blob reading optimization: we know for each blob how many bytes have been read from the beginning.
- ErrToo
Many Nanos - An error that occurs when trying to create a
NanoSeconds
representing more than one second - Nano
Seconds - A number of nanoseconds
- Time
- A timestamp, represented as seconds since the unix epoch.
Traits§
- Blob
Reader Trait - This trait wraps “blob transaction” from a data availability layer allowing partial consumption of the blob data by the rollup.
- Block
Hash Trait - Trait with collection of trait bounds for a block hash.
- Block
Header Trait - A block header, typically used in the context of an underlying DA blockchain.
- DaSpec
- A specification for the types used by a DA layer.
- DaVerifier
- A
DaVerifier
implements the logic required to create a zk proof that some data has been processed.