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 + const DefaultConnectionTimeout + const DefaultMaxBatchSize + var ZeroAddress common.Address + func QueryStateBatches(filterer *scc.StateCommitmentChainFilterer, startHeight, endHeight uint64, ...) (map[common.Hash][]db.StateBatch, error) + type ConfirmedHeaderSelector struct + func NewConfirmedHeaderSelector(cfg HeaderSelectorConfig) (*ConfirmedHeaderSelector, error) + func (f *ConfirmedHeaderSelector) NewHead(ctx context.Context, lowest uint64, header *types.Header, client *rpc.Client) ([]*NewHeader, error) + type Driver interface + Name func() string + type HeaderSelectorConfig struct + ConfDepth uint64 + MaxBatchSize uint64 + type IndexerStatus struct + Highest db.BlockLocator + Synced float64 + type NewHeader struct + Hash common.Hash + func HeadersByRange(ctx context.Context, client *rpc.Client, startHeight uint64, count int) ([]*NewHeader, error) + func (h *NewHeader) UnmarshalJSON(input []byte) error + type Service struct + func NewService(cfg ServiceConfig) (*Service, error) + func (s *Service) GetDeposits(w http.ResponseWriter, r *http.Request) + func (s *Service) GetIndexerStatus(w http.ResponseWriter, r *http.Request) + func (s *Service) Start() error + func (s *Service) Stop() + func (s *Service) Update(newHeader *types.Header) error + type ServiceConfig struct + AddressManager services.AddressManager + Bedrock bool + ChainID *big.Int + ConfDepth uint64 + Context context.Context + DB *db.Database + L1Client *ethclient.Client + MaxHeaderBatchSize uint64 + Metrics *metrics.Metrics + RawL1Client *rpc.Client + StartBlockNumber uint64 Other modules containing this package github.com/ethereum-optimism/optimism