| 46 | bool handshake_ok() const override { return peer_version != 0; } |
| 47 | |
| 48 | virtual void on_msg_bytes(size_t, size_t) {} // downloaded, uploaded |
| 49 | virtual void on_first_message_after_handshake() {} // calling disconnect from here will crash |
| 50 | virtual void on_msg_handshake(p2p::Handshake::Request &&) {} // called after some internal processing |
| 51 | virtual void on_msg_handshake(p2p::Handshake::Response &&) {} // called after some internal processing |
nothing calls this directly
no outgoing calls
no test coverage detected