#include <core.h>
|
| static void | init_options (boost::program_options::options_description &option_spec) |
| |
Definition at line 43 of file core.h.
◆ t_core()
| daemonize::t_core::t_core |
( |
boost::program_options::variables_map const & |
vm | ) |
|
|
inline |
◆ ~t_core()
| daemonize::t_core::~t_core |
( |
| ) |
|
|
inline |
Definition at line 93 of file core.h.
95 MGINFO(
"Deinitializing core...");
100 MERROR(
"Failed to deinitialize core...");
bool deinit()
performs safe shutdown steps for core and core components
void set_cryptonote_protocol(i_cryptonote_protocol *pprotocol)
set the pointer to the cryptonote protocol object to use
◆ get()
◆ init_options()
| static void daemonize::t_core::init_options |
( |
boost::program_options::options_description & |
option_spec | ) |
|
|
inlinestatic |
Definition at line 46 of file core.h.
static void init_options(boost::program_options::options_description &desc)
adds command line options to the given options set
◆ run()
| bool daemonize::t_core::run |
( |
| ) |
|
|
inline |
Definition at line 71 of file core.h.
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");
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
std::function< const epee::span< const unsigned char >cryptonote::network_type network)> GetCheckpointsCallback
Callback routine that returns checkpoints data for specific network type.
const epee::span< const unsigned char > GetCheckpointsData(cryptonote::network_type network)
◆ set_protocol()
Definition at line 66 of file core.h.
void set_cryptonote_protocol(i_cryptonote_protocol *pprotocol)
set the pointer to the cryptonote protocol object to use
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/daemon/core.h