-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
180 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
// SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
namespace Nethermind.Config | ||
namespace Nethermind.Config; | ||
|
||
[ConfigCategory(HiddenFromDocs = true)] | ||
public interface INoCategoryConfig : IConfig | ||
{ | ||
public interface INoCategoryConfig : IConfig | ||
{ | ||
[ConfigItem(Description = "Parent directory or path for BaseDbPath, KeyStoreDirectory, LogDirectory configurations.")] | ||
public string DataDir { get; set; } | ||
[ConfigItem(Description = "Parent directory or path for BaseDbPath, KeyStoreDirectory, LogDirectory configurations.")] | ||
public string DataDir { get; set; } | ||
|
||
[ConfigItem(Description = "Path to the JSON configuration file.")] | ||
public string Config { get; set; } | ||
[ConfigItem(Description = "Path to the JSON configuration file.")] | ||
public string Config { get; set; } | ||
|
||
[ConfigItem(Description = "Path or directory for configuration files.", DefaultValue = "configs")] | ||
public string ConfigsDirectory { get; set; } | ||
[ConfigItem(Description = "Path or directory for configuration files.", DefaultValue = "configs")] | ||
public string ConfigsDirectory { get; set; } | ||
|
||
[ConfigItem(Description = "Path or directory for database files.", DefaultValue = "db")] | ||
public string BaseDbPath { get; set; } | ||
[ConfigItem(Description = "Path or directory for database files.", DefaultValue = "db")] | ||
public string BaseDbPath { get; set; } | ||
|
||
[ConfigItem(Description = "Log level override. Possible values: OFF|TRACE|DEBUG|INFO|WARN|ERROR")] | ||
public string Log { get; set; } | ||
[ConfigItem(Description = "Log level override. Possible values: OFF|TRACE|DEBUG|INFO|WARN|ERROR")] | ||
public string Log { get; set; } | ||
|
||
[ConfigItem(Description = "Path to the NLog config file")] | ||
public string LoggerConfigSource { get; set; } | ||
[ConfigItem(Description = "Path to the NLog config file")] | ||
public string LoggerConfigSource { get; set; } | ||
|
||
[ConfigItem(Description = "Plugins directory")] | ||
public string PluginsDirectory { get; set; } | ||
[ConfigItem(Description = "Plugins directory")] | ||
public string PluginsDirectory { get; set; } | ||
|
||
[ConfigItem(Description = "Sets the job name for metrics monitoring.", EnvironmentVariable = "NETHERMIND_MONITORING_JOB")] | ||
public string MonitoringJob { get; set; } | ||
[ConfigItem(Description = "Sets the job name for metrics monitoring.", EnvironmentVariable = "NETHERMIND_MONITORING_JOB")] | ||
public string MonitoringJob { get; set; } | ||
|
||
[ConfigItem(Description = "Sets the default group name for metrics monitoring.", EnvironmentVariable = "NETHERMIND_MONITORING_GROUP")] | ||
public string MonitoringGroup { get; set; } | ||
[ConfigItem(Description = "Sets the default group name for metrics monitoring.", EnvironmentVariable = "NETHERMIND_MONITORING_GROUP")] | ||
public string MonitoringGroup { get; set; } | ||
|
||
[ConfigItem(Description = "Sets the external IP for the node.", EnvironmentVariable = "NETHERMIND_ENODE_IPADDRESS")] | ||
public string EnodeIpAddress { get; set; } | ||
[ConfigItem(Description = "Sets the external IP for the node.", EnvironmentVariable = "NETHERMIND_ENODE_IPADDRESS")] | ||
public string EnodeIpAddress { get; set; } | ||
|
||
[ConfigItem(Description = "Enables Hive plugin used for executing Hive Ethereum Tests.", EnvironmentVariable = "NETHERMIND_HIVE_ENABLED", DefaultValue = "false")] | ||
public bool HiveEnabled { get; set; } | ||
[ConfigItem(Description = "Enables Hive plugin used for executing Hive Ethereum Tests.", EnvironmentVariable = "NETHERMIND_HIVE_ENABLED", DefaultValue = "false")] | ||
public bool HiveEnabled { get; set; } | ||
|
||
[ConfigItem(Description = "Defines default URL for JSON RPC.", EnvironmentVariable = "NETHERMIND_URL")] | ||
public string Url { get; set; } | ||
[ConfigItem(Description = "Defines default URL for JSON RPC.", EnvironmentVariable = "NETHERMIND_URL")] | ||
public string Url { get; set; } | ||
|
||
[ConfigItem(Description = "Defines CORS origins for JSON RPC.", DefaultValue = "*", EnvironmentVariable = "NETHERMIND_CORS_ORIGINS")] | ||
public string CorsOrigins { get; set; } | ||
[ConfigItem(Description = "Defines CORS origins for JSON RPC.", DefaultValue = "*", EnvironmentVariable = "NETHERMIND_CORS_ORIGINS")] | ||
public string CorsOrigins { get; set; } | ||
|
||
[ConfigItem(Description = "Defines host value for CLI function \"switchLocal\".", DefaultValue = "http://localhost", EnvironmentVariable = "NETHERMIND_CLI_SWITCH_LOCAL")] | ||
public string CliSwitchLocal { get; set; } | ||
} | ||
[ConfigItem(Description = "Defines host value for CLI function \"switchLocal\".", DefaultValue = "http://localhost", EnvironmentVariable = "NETHERMIND_CLI_SWITCH_LOCAL")] | ||
public string CliSwitchLocal { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.