Versions in this module Expand all Collapse all v1 v1.0.1 Nov 14, 2025 Changes in this version + type Config struct + Enabled bool + Path string + SyncInterval time.Duration + func DefaultConfig() Config + type Entry struct + Checksum []byte + Data []byte + ID uint64 + Slot uint64 + Timestamp time.Time + Type EntryType + type EntryType string + const EntryCheckpoint + const EntryL2Block + const EntryRollback + const EntrySCPDecision + const EntrySCPStart + const EntrySlotStart + const EntrySuperblock + type Manager interface + Checkpoint func(ctx context.Context, slot uint64) error + Close func() error + ReadEntries func(ctx context.Context, checkpoint uint64) ([]*Entry, error) + Truncate func(ctx context.Context, beforeSlot uint64) error + WriteEntry func(ctx context.Context, entry *Entry) error