mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-18 05:54:34 +00:00
BlockchainReactor syncs first before ConsensusReactor.
This commit is contained in:
+3
-1
@@ -39,7 +39,9 @@ func (b *Block) ValidateBasic(lastBlockHeight uint, lastBlockHash []byte,
|
||||
if !b.LastBlockParts.Equals(lastBlockParts) {
|
||||
return errors.New("Wrong Block.Header.LastBlockParts")
|
||||
}
|
||||
/* TODO: Determine bounds.
|
||||
/* TODO: Determine bounds
|
||||
See blockchain/reactor "stopSyncingDurationMinutes"
|
||||
|
||||
if !b.Time.After(lastBlockTime) {
|
||||
return errors.New("Invalid Block.Header.Time")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user