rewinder

package
v1.13.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rewinder

type Rewinder struct {
	// contains filtered or unexported fields
}

Rewinder is responsible for handling the rewinding of databases to the latest common ancestor between the local databases and L2 node.

func New

func New(log log.Logger, db rewinderDB, l1Node l1Node) *Rewinder

func (*Rewinder) AttachEmitter

func (r *Rewinder) AttachEmitter(em event.Emitter)

func (*Rewinder) Close added in v1.13.5

func (r *Rewinder) Close()

func (*Rewinder) OnEvent

func (r *Rewinder) OnEvent(ctx context.Context, ev event.Event) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL