diff --git a/zebra-network/src/constants.rs b/zebra-network/src/constants.rs index 86bd5a2bc..742b48f86 100644 --- a/zebra-network/src/constants.rs +++ b/zebra-network/src/constants.rs @@ -34,7 +34,11 @@ pub const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(60); pub const TIMESTAMP_TRUNCATION_SECONDS: i64 = 30 * 60; /// The User-Agent string provided by the node. -pub const USER_AGENT: &str = "🦓 Zebra 3.0.0-alpha.0 🦓"; +/// +/// This must be a valid [BIP 14] user agent. +/// +/// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki +pub const USER_AGENT: &str = "/Zebra:3.0.0-alpha.0(🦓)/"; /// The Zcash network protocol version implemented by this crate. ///