Static NETWORK_ID

Source
pub static NETWORK_ID: LazyLock<RwLock<u8>>
Expand description

Network identifier used to differentiate between different networks.

§Default Value

Set to 1 representing the mainnet network.

§Usage

  • Network isolation mechanism
  • Prevents cross-network contamination
  • Used in protocol strings and user-agent identifiers