During the P2P connection handshake, if a peer sends a ping message before the version/verack negotiation is…
During the P2P connection handshake, if a peer sends a ping message before the version/verack negotiation is…: a task in LegoFlow-SWE (Harbor dataset). Expected behavior The node must accept a ping message at any point after the TCP connection is established, including during the initial handshake…
The task
**Expected behavior** The node must accept a `ping` message at any point after the TCP connection is established, including during the initial handshake phase. Upon receiving a valid `ping`, the node should respond with a `pong` carrying the same nonce. The connection must remain open, and the peer must not be…
Part of Lego-X/LegoFlow-SWE.