@@ -27,17 +27,17 @@ import (
2727)
2828
2929type Config struct {
30- Logging LoggingConfig `yaml:"logging"`
31- Storage StorageConfig `yaml:"storage"`
32- Indexer IndexerConfig `yaml:"indexer"`
3330 Submit SubmitConfig `yaml:"submit"`
31+ Storage StorageConfig `yaml:"storage"`
3432 Wallet WalletConfig `yaml:"wallet"`
35- Miner MinerConfig `yaml:"miner"`
36- Metrics MetricsConfig `yaml:"metrics"`
37- Debug DebugConfig `yaml:"debug"`
3833 Profile string `yaml:"profile" envconfig:"PROFILE"`
3934 Network string `yaml:"network" envconfig:"NETWORK"`
35+ Indexer IndexerConfig `yaml:"indexer"`
36+ Metrics MetricsConfig `yaml:"metrics"`
37+ Debug DebugConfig `yaml:"debug"`
38+ Miner MinerConfig `yaml:"miner"`
4039 NetworkMagic uint32
40+ Logging LoggingConfig `yaml:"logging"`
4141}
4242
4343type LoggingConfig struct {
@@ -68,9 +68,9 @@ type WalletConfig struct {
6868}
6969
7070type MinerConfig struct {
71+ Message string `yaml:"message" envconfig:"MINER_MESSAGE"`
7172 WorkerCount int `yaml:"workers" envconfig:"WORKER_COUNT"`
7273 HashRateInterval int `yaml:"hashRateInterval" envconfig:"HASH_RATE_INTERVAL"`
73- Message string `yaml:"message" envconfig:"MINER_MESSAGE"`
7474}
7575
7676type MetricsConfig struct {
0 commit comments