From a1d9dd47df92350a9844a5c1d455a7ea28a5774b Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Thu, 31 Mar 2016 13:16:56 +0200 Subject: [PATCH] Change network/localDB version --- common/src/main/java/io/bitsquare/app/Version.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/io/bitsquare/app/Version.java b/common/src/main/java/io/bitsquare/app/Version.java index 2aba2ab2255..f67b945939b 100644 --- a/common/src/main/java/io/bitsquare/app/Version.java +++ b/common/src/main/java/io/bitsquare/app/Version.java @@ -28,10 +28,16 @@ public class Version { // The version nr. 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. - public static final int P2P_NETWORK_VERSION = 2; + // VERSION = 0.3.4 -> P2P_NETWORK_VERSION = 1 + // VERSION = 0.3.5 -> P2P_NETWORK_VERSION = 2 + // VERSION = 0.3.7 -> P2P_NETWORK_VERSION = 3 + public static final int P2P_NETWORK_VERSION = 3; // The version nr. of the serialized data stored to disc. A change will break the serialization of old objects. - public static final int LOCAL_DB_VERSION = 2; + // VERSION = 0.3.4 -> LOCAL_DB_VERSION = 1 + // VERSION = 0.3.5 -> LOCAL_DB_VERSION = 2 + // VERSION = 0.3.7 -> LOCAL_DB_VERSION = 3 + public static final int LOCAL_DB_VERSION = 3; // The version nr. 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.