proofprogram

package
v0.0.0-...-809f3dd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batcher

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

Batcher handles the creation and submission of L2 batches to L1

func NewBatcher

func NewBatcher(rollupCfg *rollup.Config, batcherKey *ecdsa.PrivateKey, chain fakel1.L1Chain) *Batcher

NewBatcher creates a new batcher instance

func (*Batcher) CreateAndSendBatch

func (b *Batcher) CreateAndSendBatch(payloads []engine.ExecutableData, parentHash common.Hash) error

CreateAndSendBatch creates a batch and prepares it for sending to L1

func (*Batcher) CreateSpanBatches

func (b *Batcher) CreateSpanBatches(payloads []engine.ExecutableData) ([][]byte, error)

CreateSpanBatch creates a span batch from the given payloads

Directories

Path Synopsis
Package ethapi implements the general Ethereum API functions.
Package ethapi implements the general Ethereum API functions.

Jump to

Keyboard shortcuts

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