Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { L1Endpoint string L2Endpoint string TaikoL1Address common.Address TaikoL2Address common.Address L1ProverPrivKey *ecdsa.PrivateKey ZKEvmRpcdEndpoint string ZkEvmRpcdParamsPath string StartingBlockID *big.Int MaxConcurrentProvingJobs uint Dummy bool RandomDummyProofDelayLowerBound *time.Duration RandomDummyProofDelayUpperBound *time.Duration Idx uint Total uint }
Config contains the configurations to initialize a Taiko prover.
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
type Prover ¶
type Prover struct {
// contains filtered or unexported fields
}
Prover keep trying to prove new proposed blocks valid/invalid.
func (*Prover) InitFromCli ¶
New initializes the given prover instance based on the command line flags.
func (*Prover) NeedNewProof ¶ added in v0.3.0
NeedNewProof checks whether the L2 block still needs a new proof.
Click to show internal directories.
Click to hide internal directories.