pub fn construct_node_user_agent(node_version: String) -> String
Expand description
Node user-agent identifier for peer recognition and routing table management.
§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/node/{ant_protocol_version}/{ant_node_version}/{network_id}
§Behavior
- Other nodes recognize this as a fellow routing participant
- Peers with this identifier are added to routing tables (RT)