Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Enabled: false, EthRPC: "http://44.234.105.54:18545", EthDataDir: "/root/.ethereum/chaindata", ContractStateChecks: false, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `mapstructure:"eth_replay_enabled"` EthRPC string `mapstructure:"eth_rpc"` EthDataDir string `mapstructure:"eth_data_dir"` ContractStateChecks bool `mapstructure:"contract_state_checks"` }
func ReadConfig ¶
func ReadConfig(opts servertypes.AppOptions) (Config, error)
Click to show internal directories.
Click to hide internal directories.