37#undef ELECTRONEUM_DEFAULT_LOG_CATEGORY
38#define ELECTRONEUM_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
68 m_core.set_cryptonote_protocol(&protocol);
74 MGINFO(
"Initializing core...");
75#if defined(PER_BLOCK_CHECKPOINT)
80 if (!m_core.init(m_vm_HACK,
nullptr, get_checkpoints))
84 MGINFO(
"Core initialized OK");
95 MGINFO(
"Deinitializing core...");
98 m_core.set_cryptonote_protocol(
nullptr);
100 MERROR(
"Failed to deinitialize core...");
handles core cryptonote functionality
static void init_options(boost::program_options::options_description &desc)
adds command line options to the given options set
void set_protocol(t_protocol_raw &protocol)
static void init_options(boost::program_options::options_description &option_spec)
t_core(boost::program_options::variables_map const &vm)
This is the orginal cryptonote protocol network-events handler, modified by us.
const epee::span< const unsigned char > GetCheckpointsData(cryptonote::network_type network)
std::function< const epee::span< const unsigned char >(cryptonote::network_type network)> GetCheckpointsCallback
Callback routine that returns checkpoints data for specific network type.