kProtocolVersion top-level constant

int const kProtocolVersion

The wire protocol version implemented by this package.

Sent in hello and stamped into every binary data-frame header. Peers negotiate compatibility on connect; a mismatch fails the handshake.

Implementation

const int kProtocolVersion = 1;