archethic-node
archethic-node copied to clipboard
Bls validation
Description
Handle new BLS aggregration signatures.
- Validation stamp and cross validation stamps are signed using the new mining key
- Replication nodes returns a signed cross validation stamps instead of OK / Error
- Add new ProofOfValidation module that create and validate the cross validation stamps aggregated signatures
- Replication nodes validation is now asynchronous, allowing the coordinator node to create the proof of validation as soon as the threshold is reached
- Coordinator node is responsible to create the proof of validation and share it to other validation nodes
Type of change
- New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Unit test + running multiple nodes (at least 4)
Checklist:
- My code follows the style guidelines of this project
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules