-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spec - Replace redundant BLS in QBFT with RSA (#372)
* Drop BLS check where redundant * Check that the message signers belong to the instance committee * Add signer in committee check for proposal * Fix tests error msgs. Drop old tests * Refactor into WithVerification NoVerification functions * Drop unnecessary config arguments * Add msg.Validate() tests for round-change * Remove unused argument * Add NetworkPubKey to Operator * Fix roots due to changes in field names in the Operator type * Generate JSON tests * Make validator.ProcessMsg receive a SignedSSVMessage; Add SignatureVerifier module to Validator * Add validation checks to Validator.ProcessMessage * Testing util for SignedSSVMessage conversion * Add SignedSSVMessage to tests * Generate tests JSON * Add tests for Validator.ProcessMessage * Generate tests JSONs * Rename BeaconPubKey to SharePubKey * Fix roots due to the field name change * Generate tests JSONs * Store SignedSSVMessage in broadcaster * Rename NetworkKey to SSVKey * Fix tests roots due to name change * Generate JSON tests * Rename NoVerification to IgnoreSignature * Test msg with invalid signature for runner-consensus * Split signer into SSVShare and SSVOperator. Rename SSVKey to SSVOperatorKey * Add mutex and fix test roots * Generate test JSONs * Fix lock usage * Drop duplicated check in msg validation * Verify RSA signatures of broadcasted messages * Apply suggestions * Add suggestions * Change decode and verify order * Rename SSVOperatorKeys to OperatorKeys in testing util * Define signature to have 256 bytes * Rename Network to Operator in tests
- Loading branch information
1 parent
ebb6014
commit 83d5ab4
Showing
1,059 changed files
with
36,606 additions
and
14,023 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
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
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.