#include <config.hpp>
◆ FullNodeConfig() [1/2]
taraxa::FullNodeConfig::FullNodeConfig |
( |
| ) |
|
|
default |
◆ FullNodeConfig() [2/2]
taraxa::FullNodeConfig::FullNodeConfig |
( |
const Json::Value & |
file_name_str_or_json_object, |
|
|
const Json::Value & |
wallet, |
|
|
const Json::Value & |
genesis = Json::Value::null , |
|
|
const std::string & |
config_file_path = "" |
|
) |
| |
|
explicit |
◆ InitLogging()
void taraxa::FullNodeConfig::InitLogging |
( |
const addr_t & |
node_address | ) |
|
◆ loadLoggingConfigs()
std::vector< logger::Config > taraxa::FullNodeConfig::loadLoggingConfigs |
( |
const Json::Value & |
logging | ) |
|
◆ net_file_path()
auto taraxa::FullNodeConfig::net_file_path |
( |
| ) |
const |
|
inline |
◆ overwriteConfigFromJson()
void taraxa::FullNodeConfig::overwriteConfigFromJson |
( |
const Json::Value & |
config_json | ) |
|
◆ scheduleLoggingConfigUpdate()
void taraxa::FullNodeConfig::scheduleLoggingConfigUpdate |
( |
| ) |
|
◆ validate()
void taraxa::FullNodeConfig::validate |
( |
| ) |
const |
Validates config values, throws configexception if validation fails.
- Returns
◆ dag_expiry_limit
◆ data_path
fs::path taraxa::FullNodeConfig::data_path |
◆ db_config
DBConfig taraxa::FullNodeConfig::db_config |
◆ db_path
fs::path taraxa::FullNodeConfig::db_path |
◆ enable_debug
bool taraxa::FullNodeConfig::enable_debug = false |
◆ enable_test_rpc
bool taraxa::FullNodeConfig::enable_test_rpc = false |
◆ final_chain_cache_in_blocks
uint32_t taraxa::FullNodeConfig::final_chain_cache_in_blocks = 5 |
◆ genesis
◆ is_light_node
bool taraxa::FullNodeConfig::is_light_node = false |
◆ json_file_name
std::string taraxa::FullNodeConfig::json_file_name |
◆ kDefaultLightNodeHistoryDays
constexpr uint64_t taraxa::FullNodeConfig::kDefaultLightNodeHistoryDays = 7 |
|
staticconstexpr |
◆ last_json_update_time
std::filesystem::file_time_type taraxa::FullNodeConfig::last_json_update_time |
◆ light_node_history
uint64_t taraxa::FullNodeConfig::light_node_history = 0 |
◆ log_configs
◆ log_path
fs::path taraxa::FullNodeConfig::log_path |
◆ max_levels_per_period
◆ network
◆ node_secret
◆ opts_final_chain
◆ report_malicious_behaviour
bool taraxa::FullNodeConfig::report_malicious_behaviour = false |
◆ transactions_pool_size
◆ vrf_secret
The documentation for this struct was generated from the following files: