Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FaultProofProgram ¶
FaultProofProgram is the programmatic entry-point for the fault proof program
func PreimageServer ¶
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 ¶
func NewL2Client ¶
type L2ClientConfig ¶
type L2ClientConfig struct { *sources.L2ClientConfig L2Head common.Hash }
type L2Source ¶
type L2Source struct { *L2Client *sources.DebugClient }
Click to show internal directories.
Click to hide internal directories.