Validation validation bug fix --> keep track of LastBondedValidators

This commit is contained in:
Jae Kwon
2015-01-16 02:18:49 -08:00
parent b3b6a24317
commit d1a36d2ac2
3 changed files with 72 additions and 47 deletions

View File

@ -71,8 +71,8 @@ import (
)
const (
roundDuration0 = 60 * time.Second // The first round is 60 seconds long.
roundDurationDelta = 15 * time.Second // Each successive round lasts 15 seconds longer.
roundDuration0 = 30 * time.Second // The first round is 60 seconds long.
roundDurationDelta = 10 * time.Second // Each successive round lasts 15 seconds longer.
roundDeadlinePrevote = float64(1.0 / 3.0) // When the prevote is due.
roundDeadlinePrecommit = float64(2.0 / 3.0) // When the precommit vote is due.
newHeightDelta = roundDuration0 / 3 // The time to wait between commitTime and startTime of next consensus rounds.