mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Added stresstest flags to p2p network version and seed node repo
This commit is contained in:
parent
88951b5725
commit
eccfea70fb
2 changed files with 6 additions and 5 deletions
|
@ -32,7 +32,7 @@ public class Version {
|
||||||
// VERSION = 0.3.5 -> P2P_NETWORK_VERSION = 2
|
// VERSION = 0.3.5 -> P2P_NETWORK_VERSION = 2
|
||||||
// VERSION = 0.4.0 -> P2P_NETWORK_VERSION = 3
|
// VERSION = 0.4.0 -> P2P_NETWORK_VERSION = 3
|
||||||
// VERSION = 0.4.2 -> P2P_NETWORK_VERSION = 4
|
// 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.
|
// 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
|
// VERSION = 0.3.4 -> LOCAL_DB_VERSION = 1
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package io.bitsquare.p2p.seed;
|
package io.bitsquare.p2p.seed;
|
||||||
|
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.Sets;
|
||||||
|
import io.bitsquare.app.DevFlags;
|
||||||
import io.bitsquare.p2p.NodeAddress;
|
import io.bitsquare.p2p.NodeAddress;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
@ -33,10 +34,10 @@ public class SeedNodesRepository {
|
||||||
new NodeAddress("b66vnevaljo6xt5a.onion:8000"),*/
|
new NodeAddress("b66vnevaljo6xt5a.onion:8000"),*/
|
||||||
|
|
||||||
// v0.4.2
|
// v0.4.2
|
||||||
new NodeAddress("uadzuib66jupaept.onion:8000"),
|
DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("uadzuib66jupaept.onion:8000"),
|
||||||
new NodeAddress("hbma455xxbqhcuqh.onion:8000"),
|
DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("hbma455xxbqhcuqh.onion:8000"),
|
||||||
new NodeAddress("wgthuiqn3aoiovbm.onion:8000"),
|
DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("wgthuiqn3aoiovbm.onion:8000"),
|
||||||
new NodeAddress("2zxtnprnx5wqr7a3.onion:8000"),
|
DevFlags.STRESS_TEST_MODE ? new NodeAddress("TBD.onion:8000") : new NodeAddress("2zxtnprnx5wqr7a3.onion:8000"),
|
||||||
|
|
||||||
// testnet
|
// testnet
|
||||||
new NodeAddress("znmy44wcstn2rkva.onion:8001"),
|
new NodeAddress("znmy44wcstn2rkva.onion:8001"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue