35 #include "misc_log_ex.h"
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
74 MGINFO(
"Initializing core...");
75 #if defined(PER_BLOCK_CHECKPOINT)
84 MGINFO(
"Core initialized OK");
95 MGINFO(
"Deinitializing core...");
100 MERROR(
"Failed to deinitialize core...");
handles core cryptonote functionality
Definition: cryptonote_core.h:86
void set_cryptonote_protocol(i_cryptonote_protocol *pprotocol)
set the pointer to the cryptonote protocol object to use
Definition: cryptonote_core.cpp:267
static void init_options(boost::program_options::options_description &desc)
adds command line options to the given options set
Definition: cryptonote_core.cpp:346
bool deinit()
performs safe shutdown steps for core and core components
Definition: cryptonote_core.cpp:781
bool init(const boost::program_options::variables_map &vm, const test_options *test_options=NULL, const GetCheckpointsCallback &get_checkpoints=nullptr)
initializes the core as needed
Definition: cryptonote_core.cpp:497
cryptonote::core & get()
Definition: core.h:88
bool run()
Definition: core.h:71
cryptonote::core m_core
Definition: core.h:52
void set_protocol(t_protocol_raw &protocol)
Definition: core.h:66
static void init_options(boost::program_options::options_description &option_spec)
Definition: core.h:46
~t_core()
Definition: core.h:93
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 orginal cryptonote protocol network-events handler, modified by us.
const epee::span< const unsigned char > GetCheckpointsData(cryptonote::network_type network)
Definition: blocks.cpp:21
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:89
Definition: command_parser_executor.cpp:38