Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INDY-1338: View change design updates and Plenum 2.0 Architcture diagrams #1244

Merged
merged 4 commits into from
Jun 20, 2019

Conversation

ashcherbakov
Copy link
Contributor

  • Updates of PBFT View Change design with recent thinking and implementation plans
  • Plenum 2.0 Architecture Descriptions (it's required to properly implement PBFT View Change protocol)
  • Plenum 2.0 Architecture Diagrams

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
- The flag is set to TRUE once view change is started (and viewNo +=1)
- The flag is set to FALSE once a valid NEW_VIEW is received

- There needs to be `last_prep_cert` field in ConsensusDataProvider: (last_view_no, prep_cert_pp_seq_no)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would happen if there are two view changes in a row, with some old batches still not finished and some new batches slipping in between?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How new batches can slip in between if we require a strict order of PrePrepares and apply them in this order only? Also we don't apply a NEW_VIEW (and the corresponding PrePrepares) if NEW_VIEW is not valid (doesn't have all PrePrepares for the last_prep_cert).

@ashcherbakov ashcherbakov merged commit cbf4e05 into hyperledger:master Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants