client

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 0,1,2 used for stdin,stdout,stderr
	HClientRFd = iota + 3
	HClientWFd
	PClientRFd
	PClientWFd
	MaxFd
)

Variables

This section is empty.

Functions

func Main added in v1.0.6

func Main(useInterop bool)

Main executes the client program in a detached context and exits the current process. The client runtime environment must be preset before calling this function.

func RunPreInteropProgram added in v1.11.0

func RunPreInteropProgram(
	logger log.Logger,
	bootInfo *boot.BootInfo,
	l1PreimageOracle *l1.CachingOracle,
	l2PreimageOracle *l2.CachingOracle,
	db l2.KeyValueStore,
	opts tasks.DerivationOptions,
) error

func RunProgram added in v1.0.6

func RunProgram(logger log.Logger, preimageOracle io.ReadWriter, preimageHinter io.ReadWriter, cfg Config) error

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

Types

type Config added in v1.11.0

type Config struct {
	SkipValidation bool
	InteropEnabled bool
	DB             l2.KeyValueStore
	StoreBlockData bool
}

Directories

Path Synopsis
l1
l2

Jump to

Keyboard shortcuts

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