Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PageSize int64 `yaml:"pragmaPageSize"` Port int64 `yaml:"port"` PprofPort int `yaml:"pprofPort"` HealthcheckPort int64 `yaml:"healthcheck"` MinSafeBlock int `yaml:"minSafeBlock"` Network string `yaml:"networkName"` Chainid uint64 `yaml:"chainid"` HomesteadBlock uint64 `yaml:"homesteadBlock"` Eip155Block uint64 `yaml:"eip155Block"` TxTopic string `yaml:"mempoolTopic"` WhitelistInternal map[uint64]string `yaml:"whitelist"` KafkaRollback int64 `yaml:"kafkaRollback"` ReorgThreshold int64 `yaml:"reorgThreshold"` Databases map[string]string `yaml:"databases"` MempoolSlots int `yaml:"mempoolSize"` MemTxTimeThreshold int64 `yaml:"mempoolTxTime"` //mempool tx expiration in miuntes BlockWaitDuration int64 `yaml:"blockWaitDuration"` // number of miliseconds to wait for a block from charon Concurrency int `yaml:"concurrency"` LogLevel string `yaml:"loggingLevel"` Plugins []string `yaml:"plugins"` PluginDir string `yaml:"pluginPath"` Brokers []broker `yaml:"brokers"` BrokerParams []transports.BrokerParams Statsd *statsdOpts `yaml:"statsd"` CloudWatch *cloudwatchOpts `yaml:"cloudwatch"` HeavyServer string `yaml:"heavyserver"` EarliestBlock uint64 LatestBlock uint64 BaseFeeChangeBlockHeight uint64 LightSeed int64 ExtraConfig map[string]map[string]string `yaml:extra` WhitelistExternal map[uint64]types.Hash }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.