fn validate_version_msg(
msg: &PeerNetMsg,
p: &HandshakeParams<'_>,
) -> Result<(PeerID, Vec<ProtocolID>)>Expand description
Validates the given version msg. Returns the remote peer ID and the negotiated protocol set.
fn validate_version_msg(
msg: &PeerNetMsg,
p: &HandshakeParams<'_>,
) -> Result<(PeerID, Vec<ProtocolID>)>Validates the given version msg. Returns the remote peer ID and the negotiated protocol set.