mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
181 lines
9.7 KiB
C++
181 lines
9.7 KiB
C++
#pragma once
|
|
|
|
namespace xrpl {
|
|
|
|
struct Sections
|
|
{
|
|
static constexpr auto kAmendments = "amendments";
|
|
static constexpr auto kAmendmentMajorityTime = "amendment_majority_time";
|
|
static constexpr auto kBetaRpcApi = "beta_rpc_api";
|
|
static constexpr auto kClusterNodes = "cluster_nodes";
|
|
static constexpr auto kCompression = "compression";
|
|
static constexpr auto kCrawl = "crawl";
|
|
static constexpr auto kDatabasePath = "database_path";
|
|
static constexpr auto kDebugLogfile = "debug_logfile";
|
|
static constexpr auto kElbSupport = "elb_support";
|
|
static constexpr auto kFeatures = "features";
|
|
static constexpr auto kFeeDefault = "fee_default";
|
|
static constexpr auto kFetchDepth = "fetch_depth";
|
|
static constexpr auto kHashrouter = "hashrouter";
|
|
static constexpr auto kImportNodeDatabase = "import_db";
|
|
static constexpr auto kInsight = "insight";
|
|
static constexpr auto kIoWorkers = "io_workers";
|
|
static constexpr auto kIps = "ips";
|
|
static constexpr auto kIpsFixed = "ips_fixed";
|
|
static constexpr auto kLedgerHistory = "ledger_history";
|
|
static constexpr auto kLedgerReplay = "ledger_replay";
|
|
static constexpr auto kLedgerTxTables = "ledger_tx_tables";
|
|
static constexpr auto kMaxTransactions = "max_transactions";
|
|
static constexpr auto kNetworkId = "network_id";
|
|
static constexpr auto kNetworkQuorum = "network_quorum";
|
|
static constexpr auto kNodeDatabase = "node_db";
|
|
static constexpr auto kNodeSeed = "node_seed";
|
|
static constexpr auto kNodeSize = "node_size";
|
|
static constexpr auto kOverlay = "overlay";
|
|
static constexpr auto kPathSearch = "path_search";
|
|
static constexpr auto kPathSearchFast = "path_search_fast";
|
|
static constexpr auto kPathSearchMax = "path_search_max";
|
|
static constexpr auto kPathSearchOld = "path_search_old";
|
|
static constexpr auto kPeerPrivate = "peer_private";
|
|
static constexpr auto kPeersInMax = "peers_in_max";
|
|
static constexpr auto kPeersMax = "peers_max";
|
|
static constexpr auto kPeersOutMax = "peers_out_max";
|
|
static constexpr auto kPerf = "perf";
|
|
static constexpr auto kPortGrpc = "port_grpc";
|
|
static constexpr auto kPortPeer = "port_peer";
|
|
static constexpr auto kPortRpc = "port_rpc";
|
|
static constexpr auto kPortWs = "port_ws";
|
|
static constexpr auto kPortWssAdmin = "port_wss_admin";
|
|
static constexpr auto kPrefetchWorkers = "prefetch_workers";
|
|
static constexpr auto kReduceRelay = "reduce_relay";
|
|
static constexpr auto kRelationalDb = "relational_db";
|
|
static constexpr auto kRelayProposals = "relay_proposals";
|
|
static constexpr auto kRelayValidations = "relay_validations";
|
|
static constexpr auto kRpcStartup = "rpc_startup";
|
|
static constexpr auto kServer = "server";
|
|
static constexpr auto kServerDomain = "server_domain";
|
|
static constexpr auto kSigningSupport = "signing_support";
|
|
static constexpr auto kSntp = "sntp_servers";
|
|
static constexpr auto kSqdb = "sqdb";
|
|
static constexpr auto kSqlite = "sqlite";
|
|
static constexpr auto kSslVerify = "ssl_verify";
|
|
static constexpr auto kSslVerifyDir = "ssl_verify_dir";
|
|
static constexpr auto kSslVerifyFile = "ssl_verify_file";
|
|
static constexpr auto kSweepInterval = "sweep_interval";
|
|
static constexpr auto kTransactionQueue = "transaction_queue";
|
|
static constexpr auto kValidationSeed = "validation_seed";
|
|
static constexpr auto kValidatorKeys = "validator_keys";
|
|
static constexpr auto kValidatorKeyRevocation = "validator_key_revocation";
|
|
static constexpr auto kValidatorListKeys = "validator_list_keys";
|
|
static constexpr auto kValidatorListSites = "validator_list_sites";
|
|
static constexpr auto kValidatorListThreshold = "validator_list_threshold";
|
|
static constexpr auto kValidatorToken = "validator_token";
|
|
static constexpr auto kValidators = "validators";
|
|
static constexpr auto kValidatorsFile = "validators_file";
|
|
static constexpr auto kVetoAmendments = "veto_amendments";
|
|
static constexpr auto kVl = "vl";
|
|
static constexpr auto kVoting = "voting";
|
|
static constexpr auto kWorkers = "workers";
|
|
};
|
|
|
|
struct Keys
|
|
{
|
|
static constexpr auto kAccountReserve = "account_reserve";
|
|
static constexpr auto kAddress = "address";
|
|
static constexpr auto kAdmin = "admin";
|
|
static constexpr auto kAdminPassword = "admin_password";
|
|
static constexpr auto kAdminUser = "admin_user";
|
|
static constexpr auto kAdvisoryDelete = "advisory_delete";
|
|
static constexpr auto kAgeThresholdSeconds = "age_threshold_seconds";
|
|
static constexpr auto kBackOff = "backOff";
|
|
static constexpr auto kBackOffMilliseconds = "back_off_milliseconds";
|
|
static constexpr auto kBackend = "backend";
|
|
static constexpr auto kBbtOptions = "bbt_options";
|
|
static constexpr auto kBgThreads = "bg_threads";
|
|
static constexpr auto kBlockSize = "block_size";
|
|
static constexpr auto kCacheAge = "cache_age";
|
|
static constexpr auto kCacheMb = "cache_mb";
|
|
static constexpr auto kCacheSize = "cache_size";
|
|
static constexpr auto kClientMaxWindowBits = "client_max_window_bits";
|
|
static constexpr auto kClientNoContextTakeover = "client_no_context_takeover";
|
|
static constexpr auto kCompressLevel = "compress_level";
|
|
static constexpr auto kCounts = "counts";
|
|
static constexpr auto kDeleteBatch = "delete_batch";
|
|
static constexpr auto kEarliestSeq = "earliest_seq";
|
|
static constexpr auto kFastLoad = "fast_load";
|
|
static constexpr auto kFileSizeMb = "file_size_mb";
|
|
static constexpr auto kFileSizeMult = "file_size_mult";
|
|
static constexpr auto kFilterBits = "filter_bits";
|
|
static constexpr auto kFilterFull = "filter_full";
|
|
static constexpr auto kHardSet = "hard_set";
|
|
static constexpr auto kHighThreads = "high_threads";
|
|
static constexpr auto kHoldTime = "hold_time";
|
|
static constexpr auto kIp = "ip";
|
|
static constexpr auto kJournalMode = "journal_mode";
|
|
static constexpr auto kJournalSizeLimit = "journal_size_limit";
|
|
static constexpr auto kLedgersInQueue = "ledgers_in_queue";
|
|
static constexpr auto kLimit = "limit";
|
|
static constexpr auto kLogInterval = "log_interval";
|
|
static constexpr auto kMaxDivergedTime = "max_diverged_time";
|
|
static constexpr auto kMaxLedgerCountsToStore = "max_ledger_counts_to_store";
|
|
static constexpr auto kMaxUnknownTime = "max_unknown_time";
|
|
static constexpr auto kMaximumTxnInLedger = "maximum_txn_in_ledger";
|
|
static constexpr auto kMaximumTxnPerAccount = "maximum_txn_per_account";
|
|
static constexpr auto kMemoryLevel = "memory_level";
|
|
static constexpr auto kMinLedgersToComputeSizeLimit = "min_ledgers_to_compute_size_limit";
|
|
static constexpr auto kMinimumEscalationMultiplier = "minimum_escalation_multiplier";
|
|
static constexpr auto kMinimumLastLedgerBuffer = "minimum_last_ledger_buffer";
|
|
static constexpr auto kMinimumQueueSize = "minimum_queue_size";
|
|
static constexpr auto kMinimumTxnInLedger = "minimum_txn_in_ledger";
|
|
static constexpr auto kMinimumTxnInLedgerStandalone = "minimum_txn_in_ledger_standalone";
|
|
static constexpr auto kNormalConsensusIncreasePercent = "normal_consensus_increase_percent";
|
|
static constexpr auto kNudbBlockSize = "nudb_block_size";
|
|
static constexpr auto kOnlineDelete = "online_delete";
|
|
static constexpr auto kOpenFiles = "open_files";
|
|
static constexpr auto kOptions = "options";
|
|
static constexpr auto kOverlay = "overlay";
|
|
static constexpr auto kOwnerReserve = "owner_reserve";
|
|
static constexpr auto kPageSize = "page_size";
|
|
static constexpr auto kPassword = "password";
|
|
static constexpr auto kPath = "path";
|
|
static constexpr auto kPermessageDeflate = "permessage_deflate";
|
|
static constexpr auto kPort = "port";
|
|
static constexpr auto kPrefix = "prefix";
|
|
static constexpr auto kProtocol = "protocol";
|
|
static constexpr auto kRecoveryWaitSeconds = "recovery_wait_seconds";
|
|
static constexpr auto kReferenceFee = "reference_fee";
|
|
static constexpr auto kRelayTime = "relay_time";
|
|
static constexpr auto kRetrySequencePercent = "retry_sequence_percent";
|
|
static constexpr auto kRqBundle = "rq_bundle";
|
|
static constexpr auto kSafetyLevel = "safety_level";
|
|
static constexpr auto kSecureGateway = "secure_gateway";
|
|
static constexpr auto kSendQueueLimit = "send_queue_limit";
|
|
static constexpr auto kServer = "server";
|
|
static constexpr auto kServerMaxWindowBits = "server_max_window_bits";
|
|
static constexpr auto kServerNoContextTakeover = "server_no_context_takeover";
|
|
static constexpr auto kSlowConsensusDecreasePercent = "slow_consensus_decrease_percent";
|
|
static constexpr auto kSslCert = "ssl_cert";
|
|
static constexpr auto kSslCertChain = "ssl_cert_chain";
|
|
static constexpr auto kSslChain = "ssl_chain";
|
|
static constexpr auto kSslCiphers = "ssl_ciphers";
|
|
static constexpr auto kSslClientCa = "ssl_client_ca";
|
|
static constexpr auto kSslKey = "ssl_key";
|
|
static constexpr auto kSynchronous = "synchronous";
|
|
static constexpr auto kTargetTxnInLedger = "target_txn_in_ledger";
|
|
static constexpr auto kTempStore = "temp_store";
|
|
static constexpr auto kTxEnable = "tx_enable";
|
|
static constexpr auto kTxMetrics = "tx_metrics";
|
|
static constexpr auto kTxMinPeers = "tx_min_peers";
|
|
static constexpr auto kTxRelayPercentage = "tx_relay_percentage";
|
|
static constexpr auto kType = "type";
|
|
static constexpr auto kUniversalCompaction = "universal_compaction";
|
|
static constexpr auto kUnl = "unl";
|
|
static constexpr auto kUseTxTables = "use_tx_tables";
|
|
static constexpr auto kUser = "user";
|
|
static constexpr auto kVpBaseSquelchEnable = "vp_base_squelch_enable";
|
|
static constexpr auto kVpBaseSquelchMaxSelectedPeers = "vp_base_squelch_max_selected_peers";
|
|
static constexpr auto kVpEnable = "vp_enable";
|
|
};
|
|
|
|
} // namespace xrpl
|