pub fn construct_client_user_agent(client_version: String) -> String
Expand description
Client user-agent identifier for peer recognition and routing exclusion.
§Purpose
Functions as a user-agent identifier (similar to HTTP user-agent headers) that communicates peer type, its cargo package version, and network id to other peers.
§Format
ant/client/{ant_protocol_version}/{ant_client_version}/{network_id}
§Behavior
- Nodes search for “client” in this identifier and they are excluded from routing tables (RT)
- Treated as network consumers rather than routing participants