30 #ifndef DAEMON_COMMAND_LINE_ARGS_H
31 #define DAEMON_COMMAND_LINE_ARGS_H
43 ,
"Specify configuration file"
46 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
47 if (testnet_stagenet[0] && defaulted)
50 else if (testnet_stagenet[1] && defaulted)
61 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
62 if (testnet_stagenet[0] && defaulted)
65 else if (testnet_stagenet[1] && defaulted)
73 ,
"Specify maximum log file size [B]"
78 ,
"Specify maximum number of rotated log files to be saved (no limit by setting to 0)"
92 ,
"OS for which this executable was compiled"
96 ,
"Max number of threads to use for a parallel job"
102 ,
"Allow other users to use the node as a remote (restricted RPC mode, view-only commands) and advertise it over P2P"
108 ,
"IP for ZMQ RPC server to listen on"
114 ,
"Port for ZMQ RPC server to listen on"
117 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
118 if (testnet_stagenet[0] && defaulted)
120 if (testnet_stagenet[1] && defaulted)
128 ,
"Disable ZMQ RPC server"
#define CRYPTONOTE_NAME
Definition: cryptonote_config.h:147
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:231
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:216
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:202
const command_line::arg_descriptor< bool, false > arg_testnet_on
Definition: cryptonote_core.cpp:71
const command_line::arg_descriptor< bool, false > arg_stagenet_on
Definition: cryptonote_core.cpp:76
Definition: command_line_args.h:38
const command_line::arg_descriptor< std::string, false, true, 2 > arg_log_file
Definition: command_line_args.h:56
const command_line::arg_descriptor< std::size_t > arg_max_log_files
Definition: command_line_args.h:76
std::string const WINDOWS_SERVICE_NAME
Definition: command_line_args.h:39
const command_line::arg_descriptor< std::string > arg_log_level
Definition: command_line_args.h:81
const command_line::arg_descriptor< std::string, false, true, 2 > arg_config_file
Definition: command_line_args.h:41
const command_line::arg_descriptor< bool > arg_public_node
Definition: command_line_args.h:100
const command_line::arg_descriptor< bool > arg_os_version
Definition: command_line_args.h:90
const command_line::arg_descriptor< std::vector< std::string > > arg_command
Definition: command_line_args.h:86
const command_line::arg_descriptor< bool > arg_zmq_rpc_disabled
Definition: command_line_args.h:126
const command_line::arg_descriptor< std::string, false, true, 2 > arg_zmq_rpc_bind_port
Definition: command_line_args.h:112
const command_line::arg_descriptor< std::string > arg_zmq_rpc_bind_ip
Definition: command_line_args.h:106
const command_line::arg_descriptor< unsigned > arg_max_concurrency
Definition: command_line_args.h:94
const command_line::arg_descriptor< std::size_t > arg_max_log_file_size
Definition: command_line_args.h:71
boost::filesystem::path get_default_data_dir()
Definition: posix_daemonizer.inl:67