diff --git a/pom.xml b/pom.xml
index 0d286d8d..32e9343e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,14 +51,14 @@
org.codehaus.mojo
versions-maven-plugin
- 2.5
+ 2.16.0
false
maven-compiler-plugin
- 3.8.0
+ 3.11.0
11
@@ -232,7 +232,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.0.0
+ 3.4.0
generate-sources
@@ -250,7 +250,7 @@
org.apache.maven.plugins
maven-jar-plugin
- 3.2.0
+ 3.3.0
@@ -268,7 +268,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 2.4.3
+ 3.5.0
false
@@ -318,7 +318,7 @@
io.github.zlika
reproducible-build-maven-plugin
- 0.11
+ 0.16
package
@@ -335,7 +335,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.22.2
+ 3.1.2
${skipTests}
@@ -360,7 +360,7 @@
maven-dependency-plugin
- [2.8,)
+ [3.6.0,)
unpack
@@ -413,7 +413,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.0.0
+ 3.4.0
provided
diff --git a/src/main/java/org/qortal/settings/Settings.java b/src/main/java/org/qortal/settings/Settings.java
index bdff9506..f9f4eb0b 100644
--- a/src/main/java/org/qortal/settings/Settings.java
+++ b/src/main/java/org/qortal/settings/Settings.java
@@ -47,8 +47,8 @@ public class Settings {
private static final int MAINNET_GATEWAY_PORT = 80;
private static final int TESTNET_GATEWAY_PORT = 8080;
- private static final int MAINNET_DEV_PROXY_PORT = 12393;
- private static final int TESTNET_DEV_PROXY_PORT = 62393;
+ private static final int MAINNET_DEV_PROXY_PORT = 12393;
+ private static final int TESTNET_DEV_PROXY_PORT = 62393;
private static final Logger LOGGER = LogManager.getLogger(Settings.class);
private static final String SETTINGS_FILENAME = "settings.json";
@@ -110,10 +110,9 @@ public class Settings {
private boolean gatewayLoggingEnabled = false;
private boolean gatewayLoopbackEnabled = false;
- // Developer Proxy
+ // Developer Proxy
private Integer devProxyPort;
- private boolean devProxyLoggingEnabled = false;
-
+ private boolean devProxyLoggingEnabled = false;
// Specific to this node
private boolean wipeUnconfirmedOnStart = false;
@@ -186,7 +185,6 @@ public class Settings {
* This has a significant effect on execution time. */
private int blockPruneBatchSize = 10000; // blocks
-
/** Whether we should archive old data to reduce the database size */
private boolean archiveEnabled = true;
/** How often to attempt archiving (ms). */
@@ -194,15 +192,12 @@ public class Settings {
/** Serialization version to use when building an archive */
private int defaultArchiveVersion = 2;
-
/** Whether to automatically bootstrap instead of syncing from genesis */
private boolean bootstrap = true;
-
/** Registered names integrity check */
private boolean namesIntegrityCheckEnabled = false;
-
// Peer-to-peer related
private boolean isTestNet = false;
/** Single node testnet mode */
@@ -289,10 +284,10 @@ public class Settings {
// Bootstrap sources
private String[] bootstrapHosts = new String[] {
- "http://bootstrap.qortal.org",
- "http://bootstrap2.qortal.org",
- "http://bootstrap3.qortal.org",
- "http://bootstrap.qortal.online"
+ "http://bootstrap.qortal.org",
+ "http://bootstrap2.qortal.org",
+ "http://bootstrap3.qortal.org",
+ "http://bootstrap.qortal.online"
};
// Auto-update sources
@@ -311,17 +306,35 @@ public class Settings {
"1.pool.ntp.org",
"2.pool.ntp.org",
"3.pool.ntp.org",
- "cn.pool.ntp.org",
- "0.cn.pool.ntp.org",
- "1.cn.pool.ntp.org",
- "2.cn.pool.ntp.org",
- "3.cn.pool.ntp.org"
+ "asia.pool.ntp.org",
+ "0.asia.pool.ntp.org",
+ "1.asia.pool.ntp.org",
+ "2.asia.pool.ntp.org",
+ "3.asia.pool.ntp.org",
+ "europe.pool.ntp.org",
+ "0.europe.pool.ntp.org",
+ "1.europe.pool.ntp.org",
+ "2.europe.pool.ntp.org",
+ "3.europe.pool.ntp.org",
+ "north-america.pool.ntp.org",
+ "0.north-america.pool.ntp.org",
+ "1.north-america.pool.ntp.org",
+ "2.north-america.pool.ntp.org",
+ "3.north-america.pool.ntp.org",
+ "oceania.pool.ntp.org",
+ "0.oceania.pool.ntp.org",
+ "1.oceania.pool.ntp.org",
+ "2.oceania.pool.ntp.org",
+ "3.oceania.pool.ntp.org",
+ "south-america.pool.ntp.org",
+ "0.south-america.pool.ntp.org",
+ "1.south-america.pool.ntp.org",
+ "2.south-america.pool.ntp.org",
+ "3.south-america.pool.ntp.org"
};
/** Additional offset added to values returned by NTP.getTime() */
private Long testNtpOffset = null;
-
-
/* Foreign chains */
/** The number of consecutive empty addresses required before treating a wallet's transaction set as complete */
@@ -330,8 +343,6 @@ public class Settings {
/** How many wallet keys to generate when using bitcoinj as the blockchain interface (e.g. when sending coins) */
private int bitcoinjLookaheadSize = 50;
-
-
// Data storage (QDN)
/** Data storage enabled/disabled*/
@@ -396,7 +407,6 @@ public class Settings {
}
}
-
// Constructors
private Settings() {
@@ -660,17 +670,16 @@ public class Settings {
}
- public int getDevProxyPort() {
- if (this.devProxyPort != null)
- return this.devProxyPort;
+ public int getDevProxyPort() {
+ if (this.devProxyPort != null)
+ return this.devProxyPort;
- return this.isTestNet ? TESTNET_DEV_PROXY_PORT : MAINNET_DEV_PROXY_PORT;
- }
-
- public boolean isDevProxyLoggingEnabled() {
- return this.devProxyLoggingEnabled;
- }
+ return this.isTestNet ? TESTNET_DEV_PROXY_PORT : MAINNET_DEV_PROXY_PORT;
+ }
+ public boolean isDevProxyLoggingEnabled() {
+ return this.devProxyLoggingEnabled;
+ }
public boolean getWipeUnconfirmedOnStart() {
return this.wipeUnconfirmedOnStart;