diff --git a/common/src/main/java/io/bitsquare/app/Version.java b/common/src/main/java/io/bitsquare/app/Version.java index 416a8f88f3..8626205a14 100644 --- a/common/src/main/java/io/bitsquare/app/Version.java +++ b/common/src/main/java/io/bitsquare/app/Version.java @@ -32,7 +32,7 @@ public class Version { // 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 = 4; + public static final int P2P_NETWORK_VERSION = DevFlags.STRESS_TEST_MODE ? 100 : 4; // The version nr. of the serialized data stored to disc. A change will break the serialization of old objects. // VERSION = 0.3.4 -> LOCAL_DB_VERSION = 1 diff --git a/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java b/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java index 0ba282f04b..311c3d07da 100644 --- a/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java +++ b/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java @@ -1,6 +1,7 @@ package io.bitsquare.p2p.seed; import com.google.common.collect.Sets; +import io.bitsquare.app.DevFlags; import io.bitsquare.p2p.NodeAddress; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -33,10 +34,10 @@ public class SeedNodesRepository { new NodeAddress("b66vnevaljo6xt5a.onion:8000"),*/ // v0.4.2 - new NodeAddress("uadzuib66jupaept.onion:8000"), - new NodeAddress("hbma455xxbqhcuqh.onion:8000"), - new NodeAddress("wgthuiqn3aoiovbm.onion:8000"), - new NodeAddress("2zxtnprnx5wqr7a3.onion:8000"), + DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("uadzuib66jupaept.onion:8000"), + DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("hbma455xxbqhcuqh.onion:8000"), + DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("wgthuiqn3aoiovbm.onion:8000"), + DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("2zxtnprnx5wqr7a3.onion:8000"), // testnet new NodeAddress("znmy44wcstn2rkva.onion:8001"),