From 904be3005fea9ab377ff26c02de5f8ecace6fcc0 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sat, 12 Jun 2021 13:07:25 +0100 Subject: [PATCH] Enable fast sync by default. --- src/main/java/org/qortal/settings/Settings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/qortal/settings/Settings.java b/src/main/java/org/qortal/settings/Settings.java index 184cb0cd..55f421af 100644 --- a/src/main/java/org/qortal/settings/Settings.java +++ b/src/main/java/org/qortal/settings/Settings.java @@ -134,13 +134,13 @@ public class Settings { private boolean allowConnectionsWithOlderPeerVersions = true; /** Whether to sync multiple blocks at once in normal operation */ - private boolean fastSyncEnabled = false; + private boolean fastSyncEnabled = true; /** Whether to sync multiple blocks at once when the peer has a different chain */ private boolean fastSyncEnabledWhenResolvingFork = true; /** Maximum number of blocks to request at once */ private int maxBlocksPerRequest = 100; /** Maximum number of blocks this node will serve in a single response */ - private int maxBlocksPerResponse = 100; + private int maxBlocksPerResponse = 200; /** Maximum number of untrimmed blocks this node will serve in a single response */ private int maxUntrimmedBlocksPerResponse = 10;