IDENTIFY_PROTOCOL_STR

Static IDENTIFY_PROTOCOL_STR 

Source
pub static IDENTIFY_PROTOCOL_STR: LazyLock<RwLock<String>>
Expand description

Identify protocol version string for peer compatibility verification.

§Purpose

Serves as a protocol handshake identifier ensuring peer communication compatibility. Both peers must have identical values to exchange messages successfully.

§Format

ant/{ant_protocol_version}/{network_id}

§Compatibility Enforcement

  • Compatible: Peers with matching strings can communicate
  • Incompatible: Peers with different strings are:
    • Considered incompatible
    • Added to the blocklist
    • Protected against cross-network contamination