Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 1;
Expand description

A sync offer — sent by a peer to advertise its state.

Contains the peer’s current DAG heads and a bloom filter of all entry hashes it holds. The recipient uses this to compute which entries the peer is missing and needs to receive. Current protocol version. Incremented on breaking wire format changes.