37#undef MONERO_DEFAULT_LOG_CATEGORY
38#define MONERO_DEFAULT_LOG_CATEGORY "daemon"
46 static void init_options(boost::program_options::options_description & option_spec)
55 boost::program_options::variables_map
const m_vm_HACK;
58 boost::program_options::variables_map
const &
vm
64 MGINFO(
"Initializing core...");
65#if defined(PER_BLOCK_CHECKPOINT)
79 throw std::runtime_error(
"Failed to initialize core");
81 MGINFO(
"Core initialized OK");
87 m_core.set_cryptonote_protocol(&protocol);
102 MGINFO(
"Deinitializing core...");
105 m_core.set_cryptonote_protocol(
nullptr);
107 MERROR(
"Failed to deinitialize core...");
handles core cryptonote functionality
Definition cryptonote_core.h:87
static void init_options(boost::program_options::options_description &desc)
adds command line options to the given options set
Definition cryptonote_core.cpp:312
Definition cryptonote_protocol_handler.h:80
cryptonote::core & get()
Definition core.h:95
bool run()
Definition core.h:90
cryptonote::core m_core
Definition core.h:52
void set_protocol(t_protocol_raw &protocol)
Definition core.h:85
static void init_options(boost::program_options::options_description &option_spec)
Definition core.h:46
~t_core()
Definition core.h:100
cryptonote::t_cryptonote_protocol_handler< cryptonote::core > t_protocol_raw
Definition core.h:51
t_core(boost::program_options::variables_map const &vm)
Definition core.h:57
boost::program_options::variables_map const m_vm_HACK
Definition core.h:55
This is the original cryptonote protocol network-events handler, modified by us.
bool is_arg_defaulted(const boost::program_options::variables_map &vm, const arg_descriptor< T, required, dependent, NUM_DEPS > &arg)
Definition command_line.h:263
T get_arg(const boost::program_options::variables_map &vm, const arg_descriptor< T, false, true > &arg)
Definition command_line.h:269
std::function< const epee::span< const unsigned char >(cryptonote::network_type network)> GetCheckpointsCallback
Callback routine that returns checkpoints data for specific network type.
Definition blockchain.h:93
const command_line::arg_descriptor< bool > arg_proxy_allow_dns_leaks
Definition command_line_args.h:104
const command_line::arg_descriptor< std::string > arg_proxy
Definition command_line_args.h:99
Definition command_parser_executor.cpp:39
@ Warning
Useful when application has potentially harmful situtaions.
Definition easylogging++.h:603
const char * name
Definition options.c:30
randomx_vm * vm
Definition tests.cpp:20