HandshakeResult
class HandshakeResult(val peerId: Sha1Hash, val reserved: ByteArray, val supportsDht: Boolean, val supportsFast: Boolean, val supportsExtended: Boolean)
The validated outcome of PeerConnection.performHandshake: the remote peer's id and its 8 reserved capability bytes, with the three feature flags BitTorrent negotiates through them decoded for convenience. Mirrors what libtorrent stashes in set_pid() + m_reserved_bits after a successful handshake.