rippled
Loading...
Searching...
No Matches
ConfigSections.h
1#ifndef XRPL_CORE_CONFIGSECTIONS_H_INCLUDED
2#define XRPL_CORE_CONFIGSECTIONS_H_INCLUDED
3
4#include <string>
5
6namespace ripple {
7
8// VFALCO DEPRECATED in favor of the BasicConfig interface
10{
11 explicit ConfigSection() = default;
12
13 static std::string
15 {
16 return "node_db";
17 }
18 static std::string
20 {
21 return "import_db";
22 }
23};
24
25// VFALCO TODO Rename and replace these macros with variables.
26#define SECTION_AMENDMENTS "amendments"
27#define SECTION_AMENDMENT_MAJORITY_TIME "amendment_majority_time"
28#define SECTION_BETA_RPC_API "beta_rpc_api"
29#define SECTION_CLUSTER_NODES "cluster_nodes"
30#define SECTION_COMPRESSION "compression"
31#define SECTION_DEBUG_LOGFILE "debug_logfile"
32#define SECTION_ELB_SUPPORT "elb_support"
33#define SECTION_FEE_DEFAULT "fee_default"
34#define SECTION_FETCH_DEPTH "fetch_depth"
35#define SECTION_INSIGHT "insight"
36#define SECTION_IO_WORKERS "io_workers"
37#define SECTION_IPS "ips"
38#define SECTION_IPS_FIXED "ips_fixed"
39#define SECTION_LEDGER_HISTORY "ledger_history"
40#define SECTION_LEDGER_REPLAY "ledger_replay"
41#define SECTION_MAX_TRANSACTIONS "max_transactions"
42#define SECTION_NETWORK_ID "network_id"
43#define SECTION_NETWORK_QUORUM "network_quorum"
44#define SECTION_NODE_SEED "node_seed"
45#define SECTION_NODE_SIZE "node_size"
46#define SECTION_OVERLAY "overlay"
47#define SECTION_PATH_SEARCH_OLD "path_search_old"
48#define SECTION_PATH_SEARCH "path_search"
49#define SECTION_PATH_SEARCH_FAST "path_search_fast"
50#define SECTION_PATH_SEARCH_MAX "path_search_max"
51#define SECTION_PEER_PRIVATE "peer_private"
52#define SECTION_PEERS_MAX "peers_max"
53#define SECTION_PEERS_IN_MAX "peers_in_max"
54#define SECTION_PEERS_OUT_MAX "peers_out_max"
55#define SECTION_PORT_GRPC "port_grpc"
56#define SECTION_PREFETCH_WORKERS "prefetch_workers"
57#define SECTION_REDUCE_RELAY "reduce_relay"
58#define SECTION_RELATIONAL_DB "relational_db"
59#define SECTION_RELAY_PROPOSALS "relay_proposals"
60#define SECTION_RELAY_VALIDATIONS "relay_validations"
61#define SECTION_RPC_STARTUP "rpc_startup"
62#define SECTION_SIGNING_SUPPORT "signing_support"
63#define SECTION_SNTP "sntp_servers"
64#define SECTION_SSL_VERIFY "ssl_verify"
65#define SECTION_SSL_VERIFY_FILE "ssl_verify_file"
66#define SECTION_SSL_VERIFY_DIR "ssl_verify_dir"
67#define SECTION_SERVER_DOMAIN "server_domain"
68#define SECTION_SWEEP_INTERVAL "sweep_interval"
69#define SECTION_VALIDATORS_FILE "validators_file"
70#define SECTION_VALIDATION_SEED "validation_seed"
71#define SECTION_VALIDATOR_KEYS "validator_keys"
72#define SECTION_VALIDATOR_KEY_REVOCATION "validator_key_revocation"
73#define SECTION_VALIDATOR_LIST_KEYS "validator_list_keys"
74#define SECTION_VALIDATOR_LIST_SITES "validator_list_sites"
75#define SECTION_VALIDATOR_LIST_THRESHOLD "validator_list_threshold"
76#define SECTION_VALIDATORS "validators"
77#define SECTION_VALIDATOR_TOKEN "validator_token"
78#define SECTION_VETO_AMENDMENTS "veto_amendments"
79#define SECTION_WORKERS "workers"
80
81} // namespace ripple
82
83#endif
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
static std::string nodeDatabase()
static std::string importNodeDatabase()