Constant zebra_network::protocol::external::message::MAX_USER_AGENT_LENGTH
source ยท pub const MAX_USER_AGENT_LENGTH: usize = 256;
Expand description
The maximum size of the user agent string.
This is equivalent to MAX_SUBVERSION_LENGTH
in zcashd
:
https://github.com/zcash/zcash/blob/adfc7218435faa1c8985a727f997a795dcffa0c7/src/net.h#L56