bump protocol version to 1000 to facilitate deprecation of earlier versions (#3434)

This commit is contained in:
Antioch Peverell 2020-09-11 11:07:57 +01:00 committed by GitHub
parent dfd0a649c7
commit 06a09f25c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ use util::OneTime;
/// Note: We also use a specific (possible different) protocol version
/// for both the backend database and MMR data files.
/// This defines the p2p layer protocol version for this node.
pub const PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion(3);
pub const PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion(1_000);
/// Automated testing edge_bits
pub const AUTOMATED_TESTING_MIN_EDGE_BITS: u8 = 10;