-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/consensus/tendermint: sync-worker additionally check block timestamps
Sync-worker relies on Tendermint fast-sync to determine if the node is still catching up. This PR adds aditional condition that the latest block is not older than 1 minute. This prevents cases where node stops fast-syincing before it has actually caught up.
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
go/consensus/tendermint: sync-worker additionally check block timestamps | ||
|
||
Sync-worker relied on Tendermint fast-sync to determine if the node is still | ||
catching up. This PR adds aditional condition that the latest block is not | ||
older than 1 minute. This prevents cases where node stops fast-syincing | ||
before it has actually caught up. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters