Documentation ¶
Overview ¶
Package types holds various types used throughout the scribe package.
Index ¶
Constants ¶
View Source
const ( // LivefillAtHead signals that the param is livefilling at the head of the chain. LivefillAtHead = true // IndexingConfirmed signals that the param is indexing before the confirmation threshold. IndexingConfirmed = false )
helper enum for readability.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexerConfig ¶
type IndexerConfig struct { Addresses []common.Address GetLogsRange uint64 GetLogsBatchAmount uint64 StoreConcurrency int ChainID uint32 StartHeight uint64 EndHeight uint64 ConcurrencyThreshold uint64 Topics [][]common.Hash }
IndexerConfig holds metadata for the indexer. It is used to pass data uniformly and used in logging.
Click to show internal directories.
Click to hide internal directories.