forked from casper-network/casper-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4517: Implementation for 'Part 2 : Update Gossipers' r=jacek-casper a=jacek-casper Some notes: - I've updated tests that were explicitly creating signatures with specific values to create V2 variants of them, I can update them to randomly create either V1 or v2 (that'll complicate some of the them a bit though) - ~~`BlockSignatures::merge` can combine a mixture of V1 and V2, but I am not sure if that can ever happen, it might make sense to just reject mismatching versions (atm it only checks height and chain name hash when we have 2 V2 signatures)~~ - ~~`BlockAcceptor` and many other places in the code have no access to the chain name, so I left them returning the V1 of BlockSignatures~~ Co-authored-by: Jacek Malec <[email protected]>
- Loading branch information
Showing
41 changed files
with
3,350 additions
and
1,204 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
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
Oops, something went wrong.