-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: update signature of ValidateFinalizedProof
The sum of the signatures is meaningless if not everyone voted for the same block. So instead, split the signature bits out by voted hash -- which allows the caller to sum up the total vote power -- and for convenience, indicate here whether there were any duplicate signature bits. It is the caller's responsibility to handle double signs.
- Loading branch information
1 parent
044efcd
commit 3b2ae0c
Showing
2 changed files
with
29 additions
and
27 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
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