fix: Broadcast a valid BIP 14 user agent
Closes ZcashFoundation/zebra#791.
This commit is contained in:
parent
ce7f3e6c01
commit
d1e0e1abf5
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue