From 208adb0e4cd7ed24c5d2b1bcb9ec0179188b1914 Mon Sep 17 00:00:00 2001 From: crowetic Date: Thu, 5 Dec 2024 19:45:28 -0800 Subject: [PATCH] modified release version on pom.xml in preparation for updates. Modified minPeerVersion to 4.6.5, modified auto-update jar download locations in preparation for QDN-gateway-based auto-update storage, and/or gitea auto-update storage. QDN-direct auto-update jar publishing and downloading will be configured after QDN file update issue is resolved. --- pom.xml | 2 +- src/main/java/org/qortal/settings/Settings.java | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index bde846a0..c6f8bd7a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.qortal qortal - 4.6.5 + 4.6.6 jar UTF-8 diff --git a/src/main/java/org/qortal/settings/Settings.java b/src/main/java/org/qortal/settings/Settings.java index c3305e82..8da1b39e 100644 --- a/src/main/java/org/qortal/settings/Settings.java +++ b/src/main/java/org/qortal/settings/Settings.java @@ -213,7 +213,7 @@ public class Settings { public long recoveryModeTimeout = 9999999999999L; /** Minimum peer version number required in order to sync with them */ - private String minPeerVersion = "4.6.3"; + private String minPeerVersion = "4.6.5"; /** Whether to allow connections with peers below minPeerVersion * If true, we won't sync with them but they can still sync with us, and will show in the peers list * If false, sync will be blocked both ways, and they will not appear in the peers list */ @@ -222,7 +222,7 @@ public class Settings { /** Minimum time (in seconds) that we should attempt to remain connected to a peer for */ private int minPeerConnectionTime = 2 * 60 * 60; // seconds /** Maximum time (in seconds) that we should attempt to remain connected to a peer for */ - private int maxPeerConnectionTime = 4 * 60 * 60; // seconds + private int maxPeerConnectionTime = 6 * 60 * 60; // seconds /** Maximum time (in seconds) that a peer should remain connected when requesting QDN data */ private int maxDataPeerConnectionTime = 30 * 60; // seconds @@ -281,7 +281,10 @@ public class Settings { // Auto-update sources private String[] autoUpdateRepos = new String[] { "https://github.com/Qortal/qortal/raw/%s/qortal.update", - "https://raw.githubusercontent.com@151.101.16.133/Qortal/qortal/%s/qortal.update" + "https://raw.githubusercontent.com@151.101.16.133/Qortal/qortal/%s/qortal.update", + "https://qortal.link/Auto-Update/%s/qortal.update", + "https://qortal.name/auto-Update/%s/qortal.update", + "https://gitea.qortal.link/qortal/qortal/raw/%s/qortal.update" }; // Lists