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 ,
"Allow other users to use the node as a remote (restricted RPC mode, view-only commands) and advertise it over P2P"
107 ,
"IP for ZMQ RPC server to listen on"
113 ,
"Port for ZMQ RPC server to listen on"
116 , [](std::array<bool, 2> testnet_stagenet,
bool defaulted, std::string val)->std::string {
117 if (testnet_stagenet[0] && defaulted)
119 if (testnet_stagenet[1] && defaulted)
126 ,
"Address for ZMQ pub - tcp://ip:port or ipc://path"
131 ,
"Disable ZMQ RPC server"
#define CRYPTONOTE_NAME
Definition: cryptonote_config.h:159
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:261
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:246
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:216
const command_line::arg_descriptor< bool, false > arg_testnet_on
Definition: cryptonote_core.cpp:74
const command_line::arg_descriptor< bool, false > arg_stagenet_on
Definition: cryptonote_core.cpp:79
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:124
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:99
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:129
const command_line::arg_descriptor< std::string, false, true, 2 > arg_zmq_rpc_bind_port
Definition: command_line_args.h:111
const command_line::arg_descriptor< std::string > arg_zmq_rpc_bind_ip
Definition: command_line_args.h:105
const command_line::arg_descriptor< unsigned > arg_max_concurrency
Definition: command_line_args.h:93
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