mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
Use structs instead
This commit is contained in:
@@ -376,187 +376,173 @@ getIfExists<bool>(Section const& section, std::string const& name, bool& v)
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Section name constants.
|
||||
inline constexpr auto kSECTION_AMENDMENTS = "amendments";
|
||||
inline constexpr auto kSECTION_AMENDMENT_MAJORITY_TIME = "amendment_majority_time";
|
||||
inline constexpr auto kSECTION_BETA_RPC_API = "beta_rpc_api";
|
||||
inline constexpr auto kSECTION_CLUSTER_NODES = "cluster_nodes";
|
||||
inline constexpr auto kSECTION_COMPRESSION = "compression";
|
||||
inline constexpr auto kSECTION_CRAWL = "crawl";
|
||||
inline constexpr auto kSECTION_DATABASE_PATH = "database_path";
|
||||
inline constexpr auto kSECTION_DEBUG_LOGFILE = "debug_logfile";
|
||||
inline constexpr auto kSECTION_ELB_SUPPORT = "elb_support";
|
||||
inline constexpr auto kSECTION_FEE_DEFAULT = "fee_default";
|
||||
inline constexpr auto kSECTION_FEATURES = "features";
|
||||
inline constexpr auto kSECTION_FETCH_DEPTH = "fetch_depth";
|
||||
inline constexpr auto kSECTION_HASHROUTER = "hashrouter";
|
||||
inline constexpr auto kSECTION_IMPORT_NODE_DATABASE = "import_db";
|
||||
inline constexpr auto kSECTION_INSIGHT = "insight";
|
||||
inline constexpr auto kSECTION_IO_WORKERS = "io_workers";
|
||||
inline constexpr auto kSECTION_IPS = "ips";
|
||||
inline constexpr auto kSECTION_IPS_FIXED = "ips_fixed";
|
||||
inline constexpr auto kSECTION_LEDGER_HISTORY = "ledger_history";
|
||||
inline constexpr auto kSECTION_LEDGER_REPLAY = "ledger_replay";
|
||||
inline constexpr auto kSECTION_LEDGER_TX_TABLES = "ledger_tx_tables";
|
||||
inline constexpr auto kSECTION_MAX_TRANSACTIONS = "max_transactions";
|
||||
inline constexpr auto kSECTION_NETWORK_ID = "network_id";
|
||||
inline constexpr auto kSECTION_NETWORK_QUORUM = "network_quorum";
|
||||
inline constexpr auto kSECTION_NODE_DATABASE = "node_db";
|
||||
inline constexpr auto kSECTION_NODE_SEED = "node_seed";
|
||||
inline constexpr auto kSECTION_NODE_SIZE = "node_size";
|
||||
inline constexpr auto kSECTION_OVERLAY = "overlay";
|
||||
inline constexpr auto kSECTION_PATH_SEARCH_OLD = "path_search_old";
|
||||
inline constexpr auto kSECTION_PATH_SEARCH = "path_search";
|
||||
inline constexpr auto kSECTION_PATH_SEARCH_FAST = "path_search_fast";
|
||||
inline constexpr auto kSECTION_PATH_SEARCH_MAX = "path_search_max";
|
||||
inline constexpr auto kSECTION_PEER_PRIVATE = "peer_private";
|
||||
inline constexpr auto kSECTION_PEERS_MAX = "peers_max";
|
||||
inline constexpr auto kSECTION_PEERS_IN_MAX = "peers_in_max";
|
||||
inline constexpr auto kSECTION_PEERS_OUT_MAX = "peers_out_max";
|
||||
inline constexpr auto kSECTION_PERF = "perf";
|
||||
inline constexpr auto kSECTION_PORT_GRPC = "port_grpc";
|
||||
inline constexpr auto kSECTION_PORT_PEER = "port_peer";
|
||||
inline constexpr auto kSECTION_PORT_RPC = "port_rpc";
|
||||
inline constexpr auto kSECTION_PORT_WS = "port_ws";
|
||||
inline constexpr auto kSECTION_PORT_WSS_ADMIN = "port_wss_admin";
|
||||
inline constexpr auto kSECTION_PREFETCH_WORKERS = "prefetch_workers";
|
||||
inline constexpr auto kSECTION_REDUCE_RELAY = "reduce_relay";
|
||||
inline constexpr auto kSECTION_RELATIONAL_DB = "relational_db";
|
||||
inline constexpr auto kSECTION_RELAY_PROPOSALS = "relay_proposals";
|
||||
inline constexpr auto kSECTION_RELAY_VALIDATIONS = "relay_validations";
|
||||
inline constexpr auto kSECTION_RPC_STARTUP = "rpc_startup";
|
||||
inline constexpr auto kSECTION_SERVER = "server";
|
||||
inline constexpr auto kSECTION_SERVER_DOMAIN = "server_domain";
|
||||
inline constexpr auto kSECTION_SIGNING_SUPPORT = "signing_support";
|
||||
inline constexpr auto kSECTION_SNTP = "sntp_servers";
|
||||
inline constexpr auto kSECTION_SQDB = "sqdb";
|
||||
inline constexpr auto kSECTION_SQLITE = "sqlite";
|
||||
inline constexpr auto kSECTION_SSL_VERIFY = "ssl_verify";
|
||||
inline constexpr auto kSECTION_SSL_VERIFY_FILE = "ssl_verify_file";
|
||||
inline constexpr auto kSECTION_SSL_VERIFY_DIR = "ssl_verify_dir";
|
||||
inline constexpr auto kSECTION_SWEEP_INTERVAL = "sweep_interval";
|
||||
inline constexpr auto kSECTION_TRANSACTION_QUEUE = "transaction_queue";
|
||||
inline constexpr auto kSECTION_VALIDATORS_FILE = "validators_file";
|
||||
inline constexpr auto kSECTION_VALIDATION_SEED = "validation_seed";
|
||||
inline constexpr auto kSECTION_VALIDATOR_KEYS = "validator_keys";
|
||||
inline constexpr auto kSECTION_VALIDATOR_KEY_REVOCATION = "validator_key_revocation";
|
||||
inline constexpr auto kSECTION_VALIDATOR_LIST_KEYS = "validator_list_keys";
|
||||
inline constexpr auto kSECTION_VALIDATOR_LIST_SITES = "validator_list_sites";
|
||||
inline constexpr auto kSECTION_VALIDATOR_LIST_THRESHOLD = "validator_list_threshold";
|
||||
inline constexpr auto kSECTION_VALIDATORS = "validators";
|
||||
inline constexpr auto kSECTION_VALIDATOR_TOKEN = "validator_token";
|
||||
inline constexpr auto kSECTION_VETO_AMENDMENTS = "veto_amendments";
|
||||
inline constexpr auto kSECTION_VL = "vl";
|
||||
inline constexpr auto kSECTION_VOTING = "voting";
|
||||
inline constexpr auto kSECTION_WORKERS = "workers";
|
||||
struct Sections
|
||||
{
|
||||
static constexpr auto kAMENDMENTS = "amendments";
|
||||
static constexpr auto kAMENDMENT_MAJORITY_TIME = "amendment_majority_time";
|
||||
static constexpr auto kBETA_RPC_API = "beta_rpc_api";
|
||||
static constexpr auto kCLUSTER_NODES = "cluster_nodes";
|
||||
static constexpr auto kCOMPRESSION = "compression";
|
||||
static constexpr auto kCRAWL = "crawl";
|
||||
static constexpr auto kDATABASE_PATH = "database_path";
|
||||
static constexpr auto kDEBUG_LOGFILE = "debug_logfile";
|
||||
static constexpr auto kELB_SUPPORT = "elb_support";
|
||||
static constexpr auto kFEATURES = "features";
|
||||
static constexpr auto kFEE_DEFAULT = "fee_default";
|
||||
static constexpr auto kFETCH_DEPTH = "fetch_depth";
|
||||
static constexpr auto kHASHROUTER = "hashrouter";
|
||||
static constexpr auto kIMPORT_NODE_DATABASE = "import_db";
|
||||
static constexpr auto kINSIGHT = "insight";
|
||||
static constexpr auto kIO_WORKERS = "io_workers";
|
||||
static constexpr auto kIPS = "ips";
|
||||
static constexpr auto kIPS_FIXED = "ips_fixed";
|
||||
static constexpr auto kLEDGER_HISTORY = "ledger_history";
|
||||
static constexpr auto kLEDGER_REPLAY = "ledger_replay";
|
||||
static constexpr auto kLEDGER_TX_TABLES = "ledger_tx_tables";
|
||||
static constexpr auto kMAX_TRANSACTIONS = "max_transactions";
|
||||
static constexpr auto kNETWORK_ID = "network_id";
|
||||
static constexpr auto kNETWORK_QUORUM = "network_quorum";
|
||||
static constexpr auto kNODE_DATABASE = "node_db";
|
||||
static constexpr auto kNODE_SEED = "node_seed";
|
||||
static constexpr auto kNODE_SIZE = "node_size";
|
||||
static constexpr auto kOVERLAY = "overlay";
|
||||
static constexpr auto kPATH_SEARCH = "path_search";
|
||||
static constexpr auto kPATH_SEARCH_FAST = "path_search_fast";
|
||||
static constexpr auto kPATH_SEARCH_MAX = "path_search_max";
|
||||
static constexpr auto kPATH_SEARCH_OLD = "path_search_old";
|
||||
static constexpr auto kPEER_PRIVATE = "peer_private";
|
||||
static constexpr auto kPEERS_IN_MAX = "peers_in_max";
|
||||
static constexpr auto kPEERS_MAX = "peers_max";
|
||||
static constexpr auto kPEERS_OUT_MAX = "peers_out_max";
|
||||
static constexpr auto kPERF = "perf";
|
||||
static constexpr auto kPORT_GRPC = "port_grpc";
|
||||
static constexpr auto kPORT_PEER = "port_peer";
|
||||
static constexpr auto kPORT_RPC = "port_rpc";
|
||||
static constexpr auto kPORT_WS = "port_ws";
|
||||
static constexpr auto kPORT_WSS_ADMIN = "port_wss_admin";
|
||||
static constexpr auto kPREFETCH_WORKERS = "prefetch_workers";
|
||||
static constexpr auto kREDUCE_RELAY = "reduce_relay";
|
||||
static constexpr auto kRELATIONAL_DB = "relational_db";
|
||||
static constexpr auto kRELAY_PROPOSALS = "relay_proposals";
|
||||
static constexpr auto kRELAY_VALIDATIONS = "relay_validations";
|
||||
static constexpr auto kRPC_STARTUP = "rpc_startup";
|
||||
static constexpr auto kSERVER = "server";
|
||||
static constexpr auto kSERVER_DOMAIN = "server_domain";
|
||||
static constexpr auto kSIGNING_SUPPORT = "signing_support";
|
||||
static constexpr auto kSNTP = "sntp_servers";
|
||||
static constexpr auto kSQDB = "sqdb";
|
||||
static constexpr auto kSQLITE = "sqlite";
|
||||
static constexpr auto kSSL_VERIFY = "ssl_verify";
|
||||
static constexpr auto kSSL_VERIFY_DIR = "ssl_verify_dir";
|
||||
static constexpr auto kSSL_VERIFY_FILE = "ssl_verify_file";
|
||||
static constexpr auto kSWEEP_INTERVAL = "sweep_interval";
|
||||
static constexpr auto kTRANSACTION_QUEUE = "transaction_queue";
|
||||
static constexpr auto kVALIDATION_SEED = "validation_seed";
|
||||
static constexpr auto kVALIDATOR_KEYS = "validator_keys";
|
||||
static constexpr auto kVALIDATOR_KEY_REVOCATION = "validator_key_revocation";
|
||||
static constexpr auto kVALIDATOR_LIST_KEYS = "validator_list_keys";
|
||||
static constexpr auto kVALIDATOR_LIST_SITES = "validator_list_sites";
|
||||
static constexpr auto kVALIDATOR_LIST_THRESHOLD = "validator_list_threshold";
|
||||
static constexpr auto kVALIDATOR_TOKEN = "validator_token";
|
||||
static constexpr auto kVALIDATORS = "validators";
|
||||
static constexpr auto kVALIDATORS_FILE = "validators_file";
|
||||
static constexpr auto kVETO_AMENDMENTS = "veto_amendments";
|
||||
static constexpr auto kVL = "vl";
|
||||
static constexpr auto kVOTING = "voting";
|
||||
static constexpr auto kWORKERS = "workers";
|
||||
};
|
||||
|
||||
// Key name constants: nodestore backend.
|
||||
inline constexpr auto kKEY_ADVISORY_DELETE = "advisory_delete";
|
||||
inline constexpr auto kKEY_AGE_THRESHOLD_SECONDS = "age_threshold_seconds";
|
||||
inline constexpr auto kKEY_BACK_OFF = "backOff";
|
||||
inline constexpr auto kKEY_BACK_OFF_MILLISECONDS = "back_off_milliseconds";
|
||||
inline constexpr auto kKEY_BBT_OPTIONS = "bbt_options";
|
||||
inline constexpr auto kKEY_BG_THREADS = "bg_threads";
|
||||
inline constexpr auto kKEY_BLOCK_SIZE = "block_size";
|
||||
inline constexpr auto kKEY_CACHE_MB = "cache_mb";
|
||||
inline constexpr auto kKEY_DELETE_BATCH = "delete_batch";
|
||||
inline constexpr auto kKEY_EARLIEST_SEQ = "earliest_seq";
|
||||
inline constexpr auto kKEY_FAST_LOAD = "fast_load";
|
||||
inline constexpr auto kKEY_FILE_SIZE_MB = "file_size_mb";
|
||||
inline constexpr auto kKEY_FILE_SIZE_MULT = "file_size_mult";
|
||||
inline constexpr auto kKEY_FILTER_BITS = "filter_bits";
|
||||
inline constexpr auto kKEY_FILTER_FULL = "filter_full";
|
||||
inline constexpr auto kKEY_HARD_SET = "hard_set";
|
||||
inline constexpr auto kKEY_HIGH_THREADS = "high_threads";
|
||||
inline constexpr auto kKEY_NUDB_BLOCK_SIZE = "nudb_block_size";
|
||||
inline constexpr auto kKEY_ONLINE_DELETE = "online_delete";
|
||||
inline constexpr auto kKEY_OPEN_FILES = "open_files";
|
||||
inline constexpr auto kKEY_OPTIONS = "options";
|
||||
inline constexpr auto kKEY_PATH = "path";
|
||||
inline constexpr auto kKEY_RECOVERY_WAIT_SECONDS = "recovery_wait_seconds";
|
||||
inline constexpr auto kKEY_RQ_BUNDLE = "rq_bundle";
|
||||
inline constexpr auto kKEY_TYPE = "type";
|
||||
inline constexpr auto kKEY_UNIVERSAL_COMPACTION = "universal_compaction";
|
||||
inline constexpr auto kKEY_USE_TX_TABLES = "use_tx_tables";
|
||||
|
||||
// Key name constants: port configuration.
|
||||
inline constexpr auto kKEY_ADMIN = "admin";
|
||||
inline constexpr auto kKEY_ADMIN_PASSWORD = "admin_password";
|
||||
inline constexpr auto kKEY_ADMIN_USER = "admin_user";
|
||||
inline constexpr auto kKEY_CLIENT_MAX_WINDOW_BITS = "client_max_window_bits";
|
||||
inline constexpr auto kKEY_CLIENT_NO_CONTEXT_TAKEOVER = "client_no_context_takeover";
|
||||
inline constexpr auto kKEY_COMPRESS_LEVEL = "compress_level";
|
||||
inline constexpr auto kKEY_IP = "ip";
|
||||
inline constexpr auto kKEY_LIMIT = "limit";
|
||||
inline constexpr auto kKEY_MEMORY_LEVEL = "memory_level";
|
||||
inline constexpr auto kKEY_PASSWORD = "password";
|
||||
inline constexpr auto kKEY_PERMESSAGE_DEFLATE = "permessage_deflate";
|
||||
inline constexpr auto kKEY_PORT = "port";
|
||||
inline constexpr auto kKEY_PROTOCOL = "protocol";
|
||||
inline constexpr auto kKEY_SECURE_GATEWAY = "secureGateway";
|
||||
inline constexpr auto kKEY_SEND_QUEUE_LIMIT = "send_queue_limit";
|
||||
inline constexpr auto kKEY_SERVER_MAX_WINDOW_BITS = "server_max_window_bits";
|
||||
inline constexpr auto kKEY_SERVER_NO_CONTEXT_TAKEOVER = "server_no_context_takeover";
|
||||
inline constexpr auto kKEY_SSL_CERT = "ssl_cert";
|
||||
inline constexpr auto kKEY_SSL_CERT_CHAIN = "ssl_cert_chain";
|
||||
inline constexpr auto kKEY_SSL_CHAIN = "ssl_chain";
|
||||
inline constexpr auto kKEY_SSL_CIPHERS = "ssl_ciphers";
|
||||
inline constexpr auto kKEY_SSL_CLIENT_CA = "ssl_client_ca";
|
||||
inline constexpr auto kKEY_SSL_KEY = "ssl_key";
|
||||
inline constexpr auto kKEY_USER = "user";
|
||||
|
||||
// Key name constants: reduce_relay section.
|
||||
inline constexpr auto kKEY_TX_ENABLE = "tx_enable";
|
||||
inline constexpr auto kKEY_TX_METRICS = "tx_metrics";
|
||||
inline constexpr auto kKEY_TX_MIN_PEERS = "tx_min_peers";
|
||||
inline constexpr auto kKEY_TX_RELAY_PERCENTAGE = "tx_relay_percentage";
|
||||
inline constexpr auto kKEY_VP_BASE_SQUELCH_ENABLE = "vp_base_squelch_enable";
|
||||
inline constexpr auto kKEY_VP_BASE_SQUELCH_MAX_SELECTED_PEERS =
|
||||
"vp_base_squelch_max_selected_peers";
|
||||
inline constexpr auto kKEY_VP_ENABLE = "vp_enable";
|
||||
|
||||
// Key name constants: overlay section.
|
||||
inline constexpr auto kKEY_COUNTS = "counts";
|
||||
inline constexpr auto kKEY_MAX_DIVERGED_TIME = "max_diverged_time";
|
||||
inline constexpr auto kKEY_MAX_UNKNOWN_TIME = "max_unknown_time";
|
||||
inline constexpr auto kKEY_OVERLAY = "overlay";
|
||||
inline constexpr auto kKEY_SERVER = "server";
|
||||
inline constexpr auto kKEY_UNL = "unl";
|
||||
|
||||
// Key name constants: transaction_queue section.
|
||||
inline constexpr auto kKEY_LEDGERS_IN_QUEUE = "ledgers_in_queue";
|
||||
inline constexpr auto kKEY_MAX_LEDGER_COUNTS_TO_STORE = "max_ledger_counts_to_store";
|
||||
inline constexpr auto kKEY_MIN_LEDGERS_TO_COMPUTE_SIZE_LIMIT = "min_ledgers_to_compute_size_limit";
|
||||
inline constexpr auto kKEY_MINIMUM_QUEUE_SIZE = "minimum_queue_size";
|
||||
inline constexpr auto kKEY_MINIMUM_TXN_IN_LEDGER = "minimum_txn_in_ledger";
|
||||
inline constexpr auto kKEY_MINIMUM_TXN_IN_LEDGER_STANDALONE = "minimum_txn_in_ledger_standalone";
|
||||
inline constexpr auto kKEY_NORMAL_CONSENSUS_INCREASE_PERCENT = "normal_consensus_increase_percent";
|
||||
inline constexpr auto kKEY_RETRY_SEQUENCE_PERCENT = "retry_sequence_percent";
|
||||
inline constexpr auto kKEY_TARGET_TXN_IN_LEDGER = "target_txn_in_ledger";
|
||||
|
||||
// Key name constants: hashrouter section.
|
||||
inline constexpr auto kKEY_HOLD_TIME = "hold_time";
|
||||
inline constexpr auto kKEY_RELAY_TIME = "relay_time";
|
||||
|
||||
// Key name constants: sqlite section.
|
||||
inline constexpr auto kKEY_JOURNAL_MODE = "journal_mode";
|
||||
inline constexpr auto kKEY_JOURNAL_SIZE_LIMIT = "journal_size_limit";
|
||||
inline constexpr auto kKEY_PAGE_SIZE = "page_size";
|
||||
inline constexpr auto kKEY_SAFETY_LEVEL = "safety_level";
|
||||
inline constexpr auto kKEY_SYNCHRONOUS = "synchronous";
|
||||
inline constexpr auto kKEY_TEMP_STORE = "temp_store";
|
||||
|
||||
// Key name constants: insight section.
|
||||
inline constexpr auto kKEY_ADDRESS = "address";
|
||||
inline constexpr auto kKEY_BACKEND = "backend";
|
||||
inline constexpr auto kKEY_PREFIX = "prefix";
|
||||
|
||||
// Key name constants: voting section.
|
||||
inline constexpr auto kKEY_ACCOUNT_RESERVE = "account_reserve";
|
||||
inline constexpr auto kKEY_OWNER_RESERVE = "owner_reserve";
|
||||
inline constexpr auto kKEY_REFERENCE_FEE = "reference_fee";
|
||||
|
||||
// Key name constants: perflog section.
|
||||
inline constexpr auto kKEY_LOG_INTERVAL = "log_interval";
|
||||
struct Keys
|
||||
{
|
||||
static constexpr auto kACCOUNT_RESERVE = "account_reserve";
|
||||
static constexpr auto kADDRESS = "address";
|
||||
static constexpr auto kADMIN = "admin";
|
||||
static constexpr auto kADMIN_PASSWORD = "admin_password";
|
||||
static constexpr auto kADMIN_USER = "admin_user";
|
||||
static constexpr auto kADVISORY_DELETE = "advisory_delete";
|
||||
static constexpr auto kAGE_THRESHOLD_SECONDS = "age_threshold_seconds";
|
||||
static constexpr auto kBACK_OFF = "backOff";
|
||||
static constexpr auto kBACK_OFF_MILLISECONDS = "back_off_milliseconds";
|
||||
static constexpr auto kBACKEND = "backend";
|
||||
static constexpr auto kBBT_OPTIONS = "bbt_options";
|
||||
static constexpr auto kBG_THREADS = "bg_threads";
|
||||
static constexpr auto kBLOCK_SIZE = "block_size";
|
||||
static constexpr auto kCACHE_MB = "cache_mb";
|
||||
static constexpr auto kCLIENT_MAX_WINDOW_BITS = "client_max_window_bits";
|
||||
static constexpr auto kCLIENT_NO_CONTEXT_TAKEOVER = "client_no_context_takeover";
|
||||
static constexpr auto kCOMPRESS_LEVEL = "compress_level";
|
||||
static constexpr auto kCOUNTS = "counts";
|
||||
static constexpr auto kDELETE_BATCH = "delete_batch";
|
||||
static constexpr auto kEARLIEST_SEQ = "earliest_seq";
|
||||
static constexpr auto kFAST_LOAD = "fast_load";
|
||||
static constexpr auto kFILE_SIZE_MB = "file_size_mb";
|
||||
static constexpr auto kFILE_SIZE_MULT = "file_size_mult";
|
||||
static constexpr auto kFILTER_BITS = "filter_bits";
|
||||
static constexpr auto kFILTER_FULL = "filter_full";
|
||||
static constexpr auto kHARD_SET = "hard_set";
|
||||
static constexpr auto kHIGH_THREADS = "high_threads";
|
||||
static constexpr auto kHOLD_TIME = "hold_time";
|
||||
static constexpr auto kIP = "ip";
|
||||
static constexpr auto kJOURNAL_MODE = "journal_mode";
|
||||
static constexpr auto kJOURNAL_SIZE_LIMIT = "journal_size_limit";
|
||||
static constexpr auto kLEDGERS_IN_QUEUE = "ledgers_in_queue";
|
||||
static constexpr auto kLIMIT = "limit";
|
||||
static constexpr auto kLOG_INTERVAL = "log_interval";
|
||||
static constexpr auto kMAX_DIVERGED_TIME = "max_diverged_time";
|
||||
static constexpr auto kMAX_LEDGER_COUNTS_TO_STORE = "max_ledger_counts_to_store";
|
||||
static constexpr auto kMAX_UNKNOWN_TIME = "max_unknown_time";
|
||||
static constexpr auto kMEMORY_LEVEL = "memory_level";
|
||||
static constexpr auto kMIN_LEDGERS_TO_COMPUTE_SIZE_LIMIT = "min_ledgers_to_compute_size_limit";
|
||||
static constexpr auto kMINIMUM_QUEUE_SIZE = "minimum_queue_size";
|
||||
static constexpr auto kMINIMUM_TXN_IN_LEDGER = "minimum_txn_in_ledger";
|
||||
static constexpr auto kMINIMUM_TXN_IN_LEDGER_STANDALONE = "minimum_txn_in_ledger_standalone";
|
||||
static constexpr auto kNORMAL_CONSENSUS_INCREASE_PERCENT = "normal_consensus_increase_percent";
|
||||
static constexpr auto kNUDB_BLOCK_SIZE = "nudb_block_size";
|
||||
static constexpr auto kONLINE_DELETE = "online_delete";
|
||||
static constexpr auto kOPEN_FILES = "open_files";
|
||||
static constexpr auto kOPTIONS = "options";
|
||||
static constexpr auto kOVERLAY = "overlay";
|
||||
static constexpr auto kOWNER_RESERVE = "owner_reserve";
|
||||
static constexpr auto kPAGE_SIZE = "page_size";
|
||||
static constexpr auto kPASSWORD = "password";
|
||||
static constexpr auto kPATH = "path";
|
||||
static constexpr auto kPERMESSAGE_DEFLATE = "permessage_deflate";
|
||||
static constexpr auto kPORT = "port";
|
||||
static constexpr auto kPREFIX = "prefix";
|
||||
static constexpr auto kPROTOCOL = "protocol";
|
||||
static constexpr auto kRECOVERY_WAIT_SECONDS = "recovery_wait_seconds";
|
||||
static constexpr auto kREFERENCE_FEE = "reference_fee";
|
||||
static constexpr auto kRELAY_TIME = "relay_time";
|
||||
static constexpr auto kRETRY_SEQUENCE_PERCENT = "retry_sequence_percent";
|
||||
static constexpr auto kRQ_BUNDLE = "rq_bundle";
|
||||
static constexpr auto kSAFETY_LEVEL = "safety_level";
|
||||
static constexpr auto kSECURE_GATEWAY = "secureGateway";
|
||||
static constexpr auto kSEND_QUEUE_LIMIT = "send_queue_limit";
|
||||
static constexpr auto kSERVER = "server";
|
||||
static constexpr auto kSERVER_MAX_WINDOW_BITS = "server_max_window_bits";
|
||||
static constexpr auto kSERVER_NO_CONTEXT_TAKEOVER = "server_no_context_takeover";
|
||||
static constexpr auto kSSL_CERT = "ssl_cert";
|
||||
static constexpr auto kSSL_CERT_CHAIN = "ssl_cert_chain";
|
||||
static constexpr auto kSSL_CHAIN = "ssl_chain";
|
||||
static constexpr auto kSSL_CIPHERS = "ssl_ciphers";
|
||||
static constexpr auto kSSL_CLIENT_CA = "ssl_client_ca";
|
||||
static constexpr auto kSSL_KEY = "ssl_key";
|
||||
static constexpr auto kSYNCHRONOUS = "synchronous";
|
||||
static constexpr auto kTARGET_TXN_IN_LEDGER = "target_txn_in_ledger";
|
||||
static constexpr auto kTEMP_STORE = "temp_store";
|
||||
static constexpr auto kTX_ENABLE = "tx_enable";
|
||||
static constexpr auto kTX_METRICS = "tx_metrics";
|
||||
static constexpr auto kTX_MIN_PEERS = "tx_min_peers";
|
||||
static constexpr auto kTX_RELAY_PERCENTAGE = "tx_relay_percentage";
|
||||
static constexpr auto kTYPE = "type";
|
||||
static constexpr auto kUNIVERSAL_COMPACTION = "universal_compaction";
|
||||
static constexpr auto kUNL = "unl";
|
||||
static constexpr auto kUSE_TX_TABLES = "use_tx_tables";
|
||||
static constexpr auto kUSER = "user";
|
||||
static constexpr auto kVP_BASE_SQUELCH_ENABLE = "vp_base_squelch_enable";
|
||||
static constexpr auto kVP_BASE_SQUELCH_MAX_SELECTED_PEERS =
|
||||
"vp_base_squelch_max_selected_peers";
|
||||
static constexpr auto kVP_ENABLE = "vp_enable";
|
||||
};
|
||||
|
||||
} // namespace xrpl
|
||||
|
||||
Reference in New Issue
Block a user