From 16e4ce9428ef8f8d768826e5f0ddcfba5c27ad25 Mon Sep 17 00:00:00 2001 From: chao Date: Mon, 29 Jul 2019 14:18:23 -0700 Subject: [PATCH] increase number of min peers in state syncing from 5 to 10 --- node/node_syncing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node_syncing.go b/node/node_syncing.go index e7fc8c23d..badf7a883 100644 --- a/node/node_syncing.go +++ b/node/node_syncing.go @@ -28,7 +28,7 @@ const ( lastMileThreshold = 4 inSyncThreshold = 1 // unit in number of block SyncFrequency = 10 // unit in second - MinConnectedPeers = 5 // minimum number of peers connected to in node syncing + MinConnectedPeers = 10 // minimum number of peers connected to in node syncing ) // getNeighborPeers is a helper function to return list of peers