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) KeystoreFile() (string, bool, error)
- func (c Config) KeystoreGlob() string
- func (c Config) SnapshotDir() string
- func (c Config) Verify() error
- func (c Config) VoterStateFile() string
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 EigenKeyPassword string EngineJWTFile string EngineEndpoint string RPCEndpoints xchain.RPCEndpoints SnapshotInterval uint64 // See cosmossdk.io/store/snapshots/types/options.go SnapshotKeepRecent uint64 // 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 }
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) KeystoreFile ¶ added in v0.1.3
KeystoreFile returns the path to the eigenlayer-format ethereum keystore file and true if it exists. It returns false if the file does not exist. It returns an error if multiple files are found.
func (Config) KeystoreGlob ¶ added in v0.1.3
KeystoreGlob returns the glob pattern for the eigenlayer-format ethereum keystore.
func (Config) SnapshotDir ¶
func (Config) VoterStateFile ¶
Click to show internal directories.
Click to hide internal directories.