#include <protocol.h>
Definition at line 40 of file protocol.h.
◆ t_protocol()
| daemonize::t_protocol::t_protocol |
( |
boost::program_options::variables_map const & |
vm, |
|
|
t_core & |
core, |
|
|
bool |
offline = false |
|
) |
| |
|
inline |
Definition at line 48 of file protocol.h.
52 : m_protocol{core.get(),
nullptr, offline}
54 MGINFO(
"Initializing cryptonote protocol...");
55 if (!m_protocol.
init(vm))
57 throw std::runtime_error(
"Failed to initialize cryptonote protocol.");
59 MGINFO(
"Cryptonote protocol initialized OK");
bool init(const boost::program_options::variables_map &vm)
◆ ~t_protocol()
| daemonize::t_protocol::~t_protocol |
( |
| ) |
|
|
inline |
Definition at line 74 of file protocol.h.
76 MGINFO(
"Stopping cryptonote protocol...");
80 MGINFO(
"Cryptonote protocol stopped successfully");
82 LOG_ERROR(
"Failed to stop cryptonote protocol!");
void set_p2p_endpoint(nodetool::i_p2p_endpoint< connection_context > *p2p)
◆ get()
◆ set_p2p_endpoint()
| void daemonize::t_protocol::set_p2p_endpoint |
( |
t_node_server & |
server | ) |
|
|
inline |
Definition at line 67 of file protocol.h.
void set_p2p_endpoint(nodetool::i_p2p_endpoint< connection_context > *p2p)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/daemon/protocol.h