diff --git a/node/network/src/lib.rs b/node/network/src/lib.rs index c197051..426303b 100644 --- a/node/network/src/lib.rs +++ b/node/network/src/lib.rs @@ -96,8 +96,8 @@ pub use service::{load_private_key, Context, Libp2pEvent, Service, NETWORK_KEY_F /// Defines the current P2P protocol version. /// - v1: Broadcast FindFile & AnnounceFile messages in the whole network, which caused network too heavey. /// - v2: Publish NewFile to neighbors only and announce file via RPC message. -pub const PROTOCOL_VERSION_V1: [u8; 3] = [0, 1, 0]; -pub const PROTOCOL_VERSION_V2: [u8; 3] = [0, 2, 0]; +pub const PROTOCOL_VERSION_V1: [u8; 3] = [0, 1, 1]; +pub const PROTOCOL_VERSION_V2: [u8; 3] = [0, 2, 1]; /// Application level requests sent to the network. #[derive(Debug, Clone, Copy)]