Skip to main content

PROTOCOL

Constant PROTOCOL 

Source
pub const PROTOCOL: &str = "/weirdnet/sync/2";
Expand description

Request-response protocol id. /2 since weirdnet-net 0.8 sends byte fields as CBOR byte strings; a 0.4 (/1) node fails to negotiate instead of failing to decode.