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

Method send_timed_sync

src/p2p/P2PProtocolBasic.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 , config(config) {}
61
62void P2PProtocolBasic::send_timed_sync() {
63 p2p::TimedSync::Notify req;
64 req.payload_data = get_my_sync_data();
65
66 BinaryArray msg = LevinProtocol::send(req);
67
68 send(std::move(msg));
69}
70
71void P2PProtocolBasic::send(BinaryArray &&body) {
72 no_outgoing_timer.once(float(config.p2p_no_outgoing_message_ping_timeout));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected