Monero
Loading...
Searching...
No Matches
wallet_args Namespace Reference

Functions

command_line::arg_descriptor< std::string > arg_generate_from_json ()
command_line::arg_descriptor< std::string > arg_wallet_file ()
command_line::arg_descriptor< std::string > arg_rpc_client_secret_key ()
command_line::arg_descriptor< std::string > arg_password_file ()
const char * tr (const char *str)
std::pair< boost::optional< boost::program_options::variables_map >, bool > main (int argc, char **argv, const char *const usage, const char *const notice, boost::program_options::options_description desc_params, const boost::program_options::positional_options_description &positional_options, const std::function< void(const std::string &, bool)> &print, const char *default_log_name, bool log_to_console)

Function Documentation

◆ arg_generate_from_json()

command_line::arg_descriptor< std::string > wallet_args::arg_generate_from_json ( )

◆ arg_password_file()

command_line::arg_descriptor< std::string > wallet_args::arg_password_file ( )

◆ arg_rpc_client_secret_key()

command_line::arg_descriptor< std::string > wallet_args::arg_rpc_client_secret_key ( )

◆ arg_wallet_file()

command_line::arg_descriptor< std::string > wallet_args::arg_wallet_file ( )

◆ main()

std::pair< boost::optional< boost::program_options::variables_map >, bool > wallet_args::main ( int argc,
char ** argv,
const char *const usage,
const char *const notice,
boost::program_options::options_description desc_params,
const boost::program_options::positional_options_description & positional_options,
const std::function< void(const std::string &, bool)> & print,
const char * default_log_name,
bool log_to_console = false )

Processes command line arguments (argc and argv) using desc_params and positional_options, while adding parameters for log files and concurrency. Log file and concurrency arguments are handled, along with basic global init for the wallet process.

Returns
pair.first: The list of parsed options, iff there are no errors. pair.second: Should the execution terminate succesfully without actually launching the application

◆ tr()

const char * wallet_args::tr ( const char * str)