MCPcopy Create free account
hub / github.com/bcndev/bytecoin / P2PProtocolBytecoin

Method P2PProtocolBytecoin

src/Core/Node_P2PProtocolBytecoin.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27Node::P2PProtocolBytecoin::P2PProtocolBytecoin(Node *node, P2PClient *client)
28 : P2PProtocolBasic(node->m_config, node->m_p2p.get_unique_number(), client)
29 , m_node(node)
30 , m_chain_timer(std::bind(&P2PProtocolBytecoin::on_chain_timer, this))
31 , m_download_timer(std::bind(&P2PProtocolBytecoin::on_download_timer, this))
32 , m_syncpool_timer(std::bind(&P2PProtocolBytecoin::on_syncpool_timer, this))
33 , m_download_transactions_timer(std::bind(&P2PProtocolBytecoin::on_download_transactions_timer, this)) {}
34
35Node::P2PProtocolBytecoin::~P2PProtocolBytecoin() = default;
36

Callers

nothing calls this directly

Calls 1

get_unique_numberMethod · 0.80

Tested by

no test coverage detected