host

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT, MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FaultProofProgram

func FaultProofProgram(ctx context.Context, logger log.Logger, cfg *config.Config) error

FaultProofProgram is the programmatic entry-point for the fault proof program

func Main added in v1.0.6

func Main(logger log.Logger, cfg *config.Config) error

func PreimageServer added in v1.0.6

func PreimageServer(ctx context.Context, logger log.Logger, cfg *config.Config, preimageChannel oppio.FileChannel, hintChannel oppio.FileChannel) error

PreimageServer reads hints and preimage requests from the provided channels and processes those requests. This method will block until both the hinter and preimage handlers complete. If either returns an error both handlers are stopped. The supplied preimageChannel and hintChannel will be closed before this function returns.

Types

type L2Client added in v1.1.4

type L2Client struct {
	*sources.L2Client
	// contains filtered or unexported fields
}

func NewL2Client added in v1.1.4

func NewL2Client(client client.RPC, log log.Logger, metrics caching.Metrics, config *L2ClientConfig) (*L2Client, error)

func (*L2Client) OutputByRoot added in v1.1.4

func (s *L2Client) OutputByRoot(ctx context.Context, l2OutputRoot common.Hash) (eth.Output, error)

type L2ClientConfig added in v1.1.4

type L2ClientConfig struct {
	*sources.L2ClientConfig
	L2Head common.Hash
}

type L2Source

type L2Source struct {
	*L2Client
	*sources.DebugClient
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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