Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BeaconClient ¶
func NewBeaconClient ¶
func NewBeaconClient(cfg *Config, timeout time.Duration) (*BeaconClient, error)
type BlobsResponse ¶
type Config ¶
type Config struct { StartingBlockID *uint64 RPCURL string BeaconURL string ContractAddress common.Address DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 BackOffMaxRetries uint64 BackOffRetryInterval time.Duration OpenDBFunc func() (DB, error) }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
type GenesisResponse ¶
type GenesisResponse struct { Data struct { GenesisTime string `json:"genesis_time"` } `json:"data"` }
type GetSpecResponse ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer struct holds the configuration and state for the Ethereum chain listener.
func (*Indexer) InitFromCli ¶
Click to show internal directories.
Click to hide internal directories.