Versions in this module Expand all Collapse all v1 v1.0.2 Jan 15, 2024 v1.0.1 Jan 15, 2024 Changes in this version + func DecodeChunkBlockRanges(chunks [][]byte) ([]*rawdb.ChunkBlockRange, error) + func UnpackLog(c *abi.ABI, out interface{}, event string, log types.Log) error + type BatchHeader struct + func NewBatchHeader(version uint8, batchIndex, totalL1MessagePoppedBefore uint64, ...) (*BatchHeader, error) + func (b *BatchHeader) Encode() []byte + func (b *BatchHeader) Hash() common.Hash + type BlockContext struct + BaseFee *big.Int + BlockHash common.Hash + BlockNumber uint64 + GasLimit uint64 + NumL1Messages uint16 + NumTransactions uint16 + ParentHash common.Hash + Timestamp uint64 + type Chunk struct + Blocks []*WrappedBlock + func (c *Chunk) Encode(totalL1MessagePoppedBefore uint64) ([]byte, error) + func (c *Chunk) Hash(totalL1MessagePoppedBefore uint64) (common.Hash, error) + func (c *Chunk) NumL1Messages(totalL1MessagePoppedBefore uint64) uint64 + type L1Client struct + type L1CommitBatchEvent struct + BatchHash common.Hash + BatchIndex *big.Int + type L1FinalizeBatchEvent struct + BatchHash common.Hash + BatchIndex *big.Int + StateRoot common.Hash + WithdrawRoot common.Hash + type L1RevertBatchEvent struct + BatchHash common.Hash + BatchIndex *big.Int + type RollupSyncService struct + func NewRollupSyncService(ctx context.Context, genesisConfig *params.ChainConfig, db ethdb.Database, ...) (*RollupSyncService, error) + func (s *RollupSyncService) Start() + func (s *RollupSyncService) Stop() + type WrappedBlock struct + Header *types.Header + Transactions []*types.TransactionData + WithdrawRoot common.Hash + func (w *WrappedBlock) Encode(totalL1MessagePoppedBefore uint64) ([]byte, error)