client

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientProgram

func ClientProgram(
	logger log.Logger,
	cfg *rollup.Config,
	l2Cfg *params.ChainConfig,
	l1Head common.Hash,
	l2Head common.Hash,
	l2Claim common.Hash,
	l2ClaimBlockNumber uint64,
	preimageOracle io.ReadWriter,
	preimageHinter io.ReadWriter,
) error

ClientProgram executes the Program, while attached to an IO based pre-image oracle, to be served by a host.

func Program

func Program(logger log.Logger, cfg *rollup.Config, l2Cfg *params.ChainConfig, l1Head common.Hash, l2Head common.Hash, l2Claim common.Hash, l2ClaimBlockNum uint64, l1Oracle l1.Oracle, l2Oracle l2.Oracle) error

Program executes the L2 state transition, given a minimal interface to retrieve data.

Types

This section is empty.

Directories

Path Synopsis
l1
l2

Jump to

Keyboard shortcuts

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