Versions in this module Expand all Collapse all v0 v0.1.0 Mar 13, 2024 Changes in this version + func FindFirstUnfinalizedOutputIndex(ctx context.Context, logger log.Logger, fpw uint64, ...) (uint64, error) + func NewFaultDetectorMetrics(reg prometheus.Registerer) *faultDetectorMetrics + type ChainAPIClient interface + GetLatestBlockHeader func(ctx context.Context) (*types.Header, error) + type FaultDetector struct + func GetFaultDetector(ctx context.Context, logger log.Logger, l1RpcApi *chain.ChainAPIClient, ...) *FaultDetector + func NewFaultDetector(ctx context.Context, logger log.Logger, errorChan chan error, ...) (*FaultDetector, error) + func (fd *FaultDetector) IsFaultDetected() bool + func (fd *FaultDetector) Start() + func (fd *FaultDetector) Stop() + type OracleAccessor interface + FinalizationPeriodSeconds func() (*big.Int, error) + GetL2Output func(index *big.Int) (chain.L2Output, error) + GetNextOutputIndex func() (*big.Int, error)