Electroneum
Namespaces | Functions | Variables
command_line.cpp File Reference
#include "command_line.h"
#include <boost/algorithm/string/compare.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <unordered_set>
#include "common/i18n.h"
#include "cryptonote_config.h"
#include "string_tools.h"
Include dependency graph for command_line.cpp:

Namespaces

 command_line
 
 command_line::anonymous_namespace{command_line.cpp}
 

Functions

const char * command_line::anonymous_namespace{command_line.cpp}::tr (const char *str)
 
std::string command_line::input_line (const std::string &prompt)
 
bool command_line::is_yes (const std::string &str)
 

Variables

const arg_descriptor< boolcommand_line::arg_help = {"help", "Produce help message"}
 
const arg_descriptor< boolcommand_line::arg_version = {"version", "Output version information"}
 
const arg_descriptor< std::string > command_line::arg_data_dir = {"data-dir", "Specify data directory"}
 
const arg_descriptor< std::string > command_line::arg_testnet_data_dir = {"testnet-data-dir", "Specify testnet data directory"}
 
const arg_descriptor< boolcommand_line::arg_test_drop_download = {"test-drop-download", "For net tests: in download, discard ALL blocks instead checking/saving them (very fast)"}
 
const arg_descriptor< uint64_t > command_line::arg_test_drop_download_height = {"test-drop-download-height", "Like test-drop-download but disards only after around certain height", 0}
 
const arg_descriptor< int > command_line::arg_test_dbg_lock_sleep = {"test-dbg-lock-sleep", "Sleep time in ms, defaults to 0 (off), used to debug before/after locking mutex. Values 100 to 1000 are good for tests."}
 
const arg_descriptor< bool, falsecommand_line::arg_testnet_on
 
const arg_descriptor< boolcommand_line::arg_dns_checkpoints
 
const command_line::arg_descriptor< uint64_t > command_line::arg_fast_block_sync
 
const command_line::arg_descriptor< uint64_t > command_line::arg_prep_blocks_threads
 
const command_line::arg_descriptor< uint64_t > command_line::arg_show_time_stats
 
const command_line::arg_descriptor< size_t > command_line::arg_block_sync_size
 
const command_line::arg_descriptor< std::string > command_line::arg_check_updates
 
const arg_descriptor< boolcommand_line::arg_disable_fluffy_blocks
 
const arg_descriptor< std::string > command_line::arg_validator_key