Documentation ¶
Index ¶
- Constants
- func WriteConfigTOML(cfg Config, logCfg log.Config) error
- type Config
- func (c Config) AppStateDir() string
- func (c Config) ConfigFile() string
- func (c Config) DataDir() string
- func (c Config) ExecutionGenesisFile() string
- func (c Config) SDKRPCConfig() srvconfig.Config
- func (c Config) SnapshotDir() string
- func (c Config) Verify() error
- func (c Config) VoterStateFile() string
- type RPCConfig
Constants ¶
View Source
const (
DefaultHomeDir = "./halo" // Defaults to "halo" in current directory
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { HomeDir string Network netconf.ID EngineJWTFile string EngineEndpoint string RPCEndpoints xchain.RPCEndpoints SnapshotInterval uint64 // See cosmossdk.io/store/snapshots/types/options.go SnapshotKeepRecent uint32 // See cosmossdk.io/store/snapshots/types/options.go BackendType string // See cosmos-db/db.go MinRetainBlocks uint64 PruningOption string // See cosmossdk.io/store/pruning/types/options.go EVMBuildDelay time.Duration EVMBuildOptimistic bool Tracer tracer.Config UnsafeSkipUpgrades []int SDKAPI RPCConfig `mapstructure:"api"` SDKGRPC RPCConfig `mapstructure:"grpc"` }
Config defines all halo specific config.
func (Config) AppStateDir ¶
func (Config) ConfigFile ¶
ConfigFile returns the default path to the toml halo config file.
func (Config) ExecutionGenesisFile ¶
func (Config) SDKRPCConfig ¶
SDKRPCConfig returns the SDK config with only RPC fields populated.
func (Config) SnapshotDir ¶
func (Config) VoterStateFile ¶
Click to show internal directories.
Click to hide internal directories.