From 002211b7f6311e7f554e0ac9e2e15d786174d15b Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Fri, 3 Mar 2017 10:38:28 -0500 Subject: [PATCH] Reset sub version nr to 1 --- .../src/main/java/io/bitsquare/app/Version.java | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/common/src/main/java/io/bitsquare/app/Version.java b/common/src/main/java/io/bitsquare/app/Version.java index 57263609d5..87025e9014 100644 --- a/common/src/main/java/io/bitsquare/app/Version.java +++ b/common/src/main/java/io/bitsquare/app/Version.java @@ -28,21 +28,16 @@ public class Version { // The version no. for the objects sent over the network. A change will break the serialization of old objects. // If objects are used for both network and database the network version is applied. - // VERSION = 0.3.4 -> P2P_NETWORK_VERSION = 1 - // VERSION = 0.3.5 -> P2P_NETWORK_VERSION = 2 - // VERSION = 0.4.0 -> P2P_NETWORK_VERSION = 3 - // VERSION = 0.4.2 -> P2P_NETWORK_VERSION = 4 - public static final int P2P_NETWORK_VERSION = DevFlags.STRESS_TEST_MODE ? 100 : 4; + // VERSION = 0.5.0.0 -> P2P_NETWORK_VERSION = 1 + public static final int P2P_NETWORK_VERSION = DevFlags.STRESS_TEST_MODE ? 100 : 1; // The version no. of the serialized data stored to disc. A change will break the serialization of old objects. - // VERSION = 0.3.4 -> LOCAL_DB_VERSION = 1 - // VERSION = 0.3.5 -> LOCAL_DB_VERSION = 2 - // VERSION = 0.4.0 -> LOCAL_DB_VERSION = 3 - // VERSION = 0.4.2 -> LOCAL_DB_VERSION = 4 - public static final int LOCAL_DB_VERSION = 4; + // VERSION = 0.5.0.0 -> LOCAL_DB_VERSION = 1 + public static final int LOCAL_DB_VERSION = 1; // The version no. of the current protocol. The offer holds that version. // A taker will check the version of the offers to see if his version is compatible. + // VERSION = 0.5.0.0 -> TRADE_PROTOCOL_VERSION = 1 public static final int TRADE_PROTOCOL_VERSION = 1; private static int p2pMessageVersion;