allow multiple seed nodes

This commit is contained in:
Ethan Buchman
2015-04-23 18:52:44 -07:00
committed by Jae Kwon
parent d8d619811e
commit 9892dfd0b3
4 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const (
// numTotal = numPending + blocks in the pool we havnt synced yet
var (
requestTimeoutSeconds = time.Duration(1)
requestTimeoutSeconds = time.Duration(3)
)
/*
+2 -1
View File
@@ -24,7 +24,8 @@ const (
trySyncIntervalMS = 100
// stop syncing when last block's time is
// within this much of the system time.
stopSyncingDurationMinutes = 10
// stopSyncingDurationMinutes = 10
// ask for best height every 10s
statusUpdateIntervalSeconds = 10
// check if we should switch to consensus reactor