summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary <982483+gmalouf@users.noreply.github.com>2024-01-23 13:10:07 -0500
committerGitHub <noreply@github.com>2024-01-23 13:10:07 -0500
commita12324fd989883ce9bdc4c4fdecd26d7d59db965 (patch)
treeaa40c2c9e806fb505921fa410abf3ca0876397ef
parent2e0644cd477f041dac7458e07f89dc37e626cb97 (diff)
Config: Set relay profile's MaxBalanceHistoryLookback to 22000 (#5918)
-rw-r--r--cmd/algocfg/profileCommand.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/algocfg/profileCommand.go b/cmd/algocfg/profileCommand.go
index 34f918300..4cd9bf5c9 100644
--- a/cmd/algocfg/profileCommand.go
+++ b/cmd/algocfg/profileCommand.go
@@ -69,7 +69,7 @@ var (
relay = configUpdater{
description: "Relay consensus messages across the network and support catchup.",
updateFunc: func(cfg config.Local) config.Local {
- cfg.MaxBlockHistoryLookback = 20000
+ cfg.MaxBlockHistoryLookback = 22000 // Enough to support 2 catchpoints with some wiggle room for nodes to catch up from the older one
cfg.CatchpointFileHistoryLength = 3
cfg.CatchpointTracking = 2
cfg.EnableLedgerService = true