-
Notifications
You must be signed in to change notification settings - Fork 95
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
RSA message encryption #1190
RSA message encryption #1190
Conversation
nkryuchkov
commented
Nov 1, 2023
•
edited
Loading
edited
- BLS verification is replaced with RSA verification in message validation
- SSVMessage is wrapped in another type with RSA signature and operator ID
- Minor message validation cleanup
- Flags for signature checks are removed from message validation
- Tests for RSA in message validation
- Tests for RSA sign/verify
- Benchmarks for RSA & BLS sign & verify
This reverts commit 9658443.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
just two minor changes (unused code and mainnet fork epoch)
|
||
// ConsensusState keeps track of the signers for a given public key and role. | ||
type ConsensusState struct { | ||
// TODO: consider evicting old data to avoid excessive memory consumption |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@y0sher @nkryuchkov eviction should probably be done in the parent map which holds all ConsensusState
instances, because it'd also evict this and the map keys there have far higher # of combinations (Pubkey + Role
vs just OperatorID
)
2fa62cc
33d1d4f