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

Method send

src/p2p/P2PProtocolBasic.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void P2PProtocolBasic::send(BinaryArray &&body) {
72 no_outgoing_timer.once(float(config.p2p_no_outgoing_message_ping_timeout));
73 on_msg_bytes(0, body.size());
74 P2PProtocol::send(std::move(body));
75}
76
77Timestamp P2PProtocolBasic::get_local_time() const { return platform::now_unix_timestamp(); }
78

Callers

nothing calls this directly

Calls 2

onceMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected