29#ifndef DAEMON_COMMAND_LINE_ARGS_H
30#define DAEMON_COMMAND_LINE_ARGS_H
42 ,
"Specify configuration file"
45 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
46 if (testnet_stagenet[0] && defaulted)
49 else if (testnet_stagenet[1] && defaulted)
60 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
61 if (testnet_stagenet[0] && defaulted)
64 else if (testnet_stagenet[1] && defaulted)
72 ,
"Specify maximum log file size [B]"
77 ,
"Specify maximum number of rotated log files to be saved (no limit by setting to 0)"
91 ,
"OS for which this executable was compiled"
95 ,
"Max number of threads to use for a parallel job"
101 "Network communication through proxy: <socks-ip:port> i.e. \"127.0.0.1:9050\"",
105 "proxy-allow-dns-leaks",
106 "Allow DNS leaks outside of proxy",
111 ,
"Allow other users to use the node as a remote (restricted RPC mode, view-only commands) and advertise it over P2P"
117 ,
"IP for ZMQ RPC server to listen on"
123 ,
"Port for ZMQ RPC server to listen on"
126 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
127 if (testnet_stagenet[0] && defaulted)
129 if (testnet_stagenet[1] && defaulted)
136 ,
"Address for ZMQ pub - tcp://ip:port or ipc://path"
141 ,
"Disable ZMQ RPC server"
#define CRYPTONOTE_NAME
Definition cryptonote_config.h:165
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition cryptonote_config.h:290
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition cryptonote_config.h:275
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition cryptonote_config.h:232
const command_line::arg_descriptor< bool, false > arg_testnet_on
Definition cryptonote_core.cpp:75
const command_line::arg_descriptor< bool, false > arg_stagenet_on
Definition cryptonote_core.cpp:80
Definition command_line_args.h:37
const command_line::arg_descriptor< std::string, false, true, 2 > arg_log_file
Definition command_line_args.h:55
const command_line::arg_descriptor< std::size_t > arg_max_log_files
Definition command_line_args.h:75
std::string const WINDOWS_SERVICE_NAME
Definition command_line_args.h:38
const command_line::arg_descriptor< std::vector< std::string > > arg_zmq_pub
Definition command_line_args.h:134
const command_line::arg_descriptor< std::string > arg_log_level
Definition command_line_args.h:80
const command_line::arg_descriptor< std::string, false, true, 2 > arg_config_file
Definition command_line_args.h:40
const command_line::arg_descriptor< bool > arg_public_node
Definition command_line_args.h:109
const command_line::arg_descriptor< bool > arg_os_version
Definition command_line_args.h:89
const command_line::arg_descriptor< std::vector< std::string > > arg_command
Definition command_line_args.h:85
const command_line::arg_descriptor< bool > arg_zmq_rpc_disabled
Definition command_line_args.h:139
const command_line::arg_descriptor< std::string, false, true, 2 > arg_zmq_rpc_bind_port
Definition command_line_args.h:121
const command_line::arg_descriptor< std::string > arg_zmq_rpc_bind_ip
Definition command_line_args.h:115
const command_line::arg_descriptor< bool > arg_proxy_allow_dns_leaks
Definition command_line_args.h:104
const command_line::arg_descriptor< unsigned > arg_max_concurrency
Definition command_line_args.h:93
const command_line::arg_descriptor< std::string > arg_proxy
Definition command_line_args.h:99
const command_line::arg_descriptor< std::size_t > arg_max_log_file_size
Definition command_line_args.h:70
boost::filesystem::path get_default_data_dir()
Definition posix_daemonizer.inl:66
Definition command_line.h:53