Add a USER_AGENT constant to zebra_network.

This commit is contained in:
Henry de Valence 2019-09-19 16:16:06 -07:00
parent cb28d40665
commit 34c026ccca
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
use crate::types::*;
/// The User-Agent string provided by the node.
pub const USER_AGENT: &'static str = "Zebra v2.0.0-alpha.0";
/// The Zcash network protocol version used on mainnet.
pub const CURRENT_VERSION: Version = Version(170_007);