| 60 | , config(config) {} |
| 61 | |
| 62 | void 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 | |
| 71 | void P2PProtocolBasic::send(BinaryArray &&body) { |
| 72 | no_outgoing_timer.once(float(config.p2p_no_outgoing_message_ping_timeout)); |
nothing calls this directly
no outgoing calls
no test coverage detected