Module da

Module da 

Source
Expand description

Defines traits and types used by the rollup to verify claims about the DA layer.

Structs§

CountedBufReader
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.
ErrTooManyNanos
An error that occurs when trying to create a NanoSeconds representing more than one second
NanoSeconds
A number of nanoseconds
Time
A timestamp, represented as seconds since the unix epoch.

Traits§

BlobReaderTrait
This trait wraps “blob transaction” from a data availability layer allowing partial consumption of the blob data by the rollup.
BlockHashTrait
Trait with collection of trait bounds for a block hash.
BlockHeaderTrait
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.