Wait for 3 peers to start sync (#4194)

* Update service.go
This commit is contained in:
Preston Van Loon 2019-12-04 15:09:47 -08:00 committed by prylabs-bulldozer[bot]
parent 617325b726
commit 498417a8fc

View File

@ -25,7 +25,7 @@ type blockchainService interface {
}
const (
minStatusCount = 1 // TODO(3147): Set this to more than 1, maybe configure from flag?
minStatusCount = 3 // TODO(3147): Set this to more than 3, maybe configure from flag?
handshakePollingInterval = 5 * time.Second // Polling interval for checking the number of received handshakes.
)