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.
Click to show internal directories.
Click to hide internal directories.