Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u16 = 2;
Expand description

The version both peers name in their hello. A peer that speaks a newer version must still accept this one’s sections; a section it does not know is skipped only when its sender marked it optional.