package
1.0.4
Repository: https://github.com/metisprotocol/l2geth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewBackend creates a Backend from a human readable string.
NewClient create a new Client given a remote HTTP url and a chain id.
NewSyncService returns an initialized sync service.

# Constants

BackendL1 Backend involves syncing transactions that have been batched to Layer One.
BackendL2 Backend involves syncing transactions from the sequencer, meaning that the transactions may have not been batched to Layer One yet.

# Structs

Batch represents the data structure that is submitted with a series of transactions to layer one.
Client is an HTTP based RollupClient.
No description provided by the author
Enqueue represents an `enqueue` transaction or a L1 to L2 transaction.
EthContext represents the L1 EVM context that is injected into the OVM at runtime.
L1GasPrice represents the gas price of L1.
OVMContext represents the blocknumber and timestamp that exist during L2 execution.
SyncService implements the main functionality around pulling in transactions and executing them.
SyncStatus represents the state of the remote server.
TransactionBatchResponse represents the response from the remote server when querying batches.
TransactionResponse represents the response from the remote server when querying transactions.

# Interfaces

RollupClient is able to query for information that is required by the SyncService.

# Type aliases

Backend represents the type of transactions that are being synced.