Add gen block check time#382
Open
gasby88 wants to merge 1 commit intoDNAProject:masterfrom
gasby88:master
Open
Add gen block check time#382gasby88 wants to merge 1 commit intoDNAProject:masterfrom gasby88:master
gasby88 wants to merge 1 commit intoDNAProject:masterfrom
gasby88:master
Conversation
Add gen block check time to reduce the time of trigger off change view. Signed-off-by: wangbing wangbing@onchan.com
Member
|
approve |
dreamfly281
reviewed
Aug 8, 2017
Collaborator
dreamfly281
left a comment
There was a problem hiding this comment.
It looks these is no essential change to reduce the change view time as the reschedule still based on 2^ViewNumber?
Contributor
Author
|
Yes,the main change is reduce the time of backup nodes request change view when the net cannot make consensus. When the primary node dead or other circumstance, the backup nodes mast wait 2 gen block time to trigger off change view, but now only need to wait a gen block time and a gen block check time。 |
Honglei-Cong
pushed a commit
to Honglei-Cong/DNA
that referenced
this pull request
Nov 27, 2019
Signed-off-by: laizy <laizhichao@onchain.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add gen block check time to reduce the time of trigger off change view.
Signed-off-by: wangbing wangbing@onchan.com