pub fn encode_peer_profile(p: &PeerProfile) -> Vec<u8> ⓘExpand description
Serialize a PeerProfile for the handshake — a version byte (so a future layout is recognized,
not mis-parsed) followed by the budget, epoch, and feature bits.
pub fn encode_peer_profile(p: &PeerProfile) -> Vec<u8> ⓘSerialize a PeerProfile for the handshake — a version byte (so a future layout is recognized,
not mis-parsed) followed by the budget, epoch, and feature bits.