Versions in this module Expand all Collapse all v0 v0.7.0 Jun 7, 2023 v0.6.0 Jun 6, 2023 Changes in this version + var ErrSentryDSNNotSet = errors.New(...) + func Main(gitVersion string) func(ctx *cli.Context) error + func ValidateConfig(cfg *Config) error + type Config struct + Bedrock bool + BedrockL1StandardBridgeAddress common.Address + BedrockOptimismPortalAddress common.Address + ChainID uint64 + DBHost string + DBName string + DBPassword string + DBPort uint64 + DBUser string + DisableIndexer bool + L1AddressManagerAddress string + L1ConfDepth uint64 + L1EthRpc string + L1StartBlockNumber uint64 + L2ConfDepth uint64 + L2EthRpc string + LogLevel string + LogTerminal bool + MaxHeaderBatchSize uint64 + MetricsHostname string + MetricsPort uint64 + MetricsServerEnable bool + PollInterval time.Duration + RESTHostname string + RESTPort uint64 + func NewConfig(ctx *cli.Context) (Config, error) + type Indexer struct + func NewIndexer(cfg Config) (*Indexer, error) + func (b *Indexer) Serve() error + func (b *Indexer) Start() error + func (b *Indexer) Stop() Other modules containing this package github.com/ethereum-optimism/optimism