Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "BLOB_ARCHIVER"
Variables ¶
View Source
var ( ArchiverPollIntervalFlag = &cli.StringFlag{ Name: "archiver-poll-interval", Usage: "The interval at which the archiver polls for new blobs", EnvVars: opservice.PrefixEnvVar(EnvVarPrefix, "ARCHIVER_POLL_INTERVAL"), Value: "6s", } ArchiverOriginBlock = &cli.StringFlag{ Name: "archiver-origin-block", Usage: "The latest block hash that the archiver will walk back to", Required: true, EnvVars: opservice.PrefixEnvVar(EnvVarPrefix, "ORIGIN_BLOCK"), } ArchiverListenAddrFlag = &cli.StringFlag{ Name: "archiver-listen-address", Usage: "The address to list for new requests on", EnvVars: opservice.PrefixEnvVar(EnvVarPrefix, "LISTEN_ADDRESS"), Value: "0.0.0.0:8000", } )
View Source
var Flags []cli.Flag
Flags contains the list of configuration options available to the binary.
Functions ¶
This section is empty.
Types ¶
type ArchiverConfig ¶
type ArchiverConfig struct { LogConfig oplog.CLIConfig MetricsConfig opmetrics.CLIConfig BeaconConfig common.BeaconConfig StorageConfig common.StorageConfig PollInterval time.Duration OriginBlock geth.Hash ListenAddr string }
func ReadConfig ¶
func ReadConfig(cliCtx *cli.Context) ArchiverConfig
func (ArchiverConfig) Check ¶
func (c ArchiverConfig) Check() error
Click to show internal directories.
Click to hide internal directories.