-
Notifications
You must be signed in to change notification settings - Fork 5
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
Use diffs for proposer finalizer policy and proposer policy in block_header extension #5
Comments
Current finalizer_policy struct finalizer_policy {
uint32_t generation = 0; ///< sequentially incrementing version number
uint64_t threshold = 0; ///< vote weight threshold to finalize blocks
std::vector<finalizer_authority> finalizers; ///< Instant Finality voter set
|
We agreed to go with the option in which the protocol respects the order of finalizer authorities provided by the proposer. We also agreed that since that algorithm for generating the diffs respects order, it is trivial to also apply this diff strategy for the producer policy as well. Also, we want the diffs to include the expected generation / version of the new policy. |
…t. Added asserts to check for overflow.
IF: Use finalizer diffs in instant_finality_extension
IF: Use proposer diffs in instant_finality_extension
Note:start |
… alternative approach of sorting but maintaining original index.
… leave room for additional test covering joint finalizer policies
No description provided.
The text was updated successfully, but these errors were encountered: