Skip to content
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

shutter: listen for decryption keys #13306

Merged
merged 45 commits into from
Jan 13, 2025
Merged

Conversation

taratorio
Copy link
Member

@taratorio taratorio commented Jan 2, 2025

closes #13191

@taratorio taratorio changed the title Shutter decryption keys listener shutter: decryption keys listener Jan 2, 2025
taratorio added a commit that referenced this pull request Jan 2, 2025
moving `EventNotifier` and `Observers` structs from
`polygon/polygoncommon` pkg to `erigon-lib/event` pkg since those will
be used in other packages outside of polygon (e.g. using in `shutter`
pkg as part of #13306)
@taratorio taratorio changed the title shutter: decryption keys listener shutter: listen for decryption keys Jan 10, 2025
@taratorio taratorio marked this pull request as ready for review January 10, 2025 18:31
// - add validation for signers and signatures based on keyper set and eon infos
// - add DecryptionKeys.Validate() equivalent which checks the Key unmarshalling into shcrypto.EpochSecretKey
// - add validation forVerifyEpochSecretKey: check if we should be doing this validation
//
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added #13384 for this

)
//
// TODO process msg
//
Copy link
Member Author

@taratorio taratorio Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added #13386 for this

//
// TODO play around with go-libp2p-kad-dht for routing and discovery analogous to rolling-shutter
// check if it improves number of peers for topic
//
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added #13379 for this


//
// TODO persist connected nodes to be able to re-use on restart
//
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added #13380 for this

@taratorio
Copy link
Member Author

successfully getting messages

[DBUG] [01-13|14:29:15.861] processing decryption keys message       component=shutter instanceId=1000 eon=6 slot=19557044 txPointer=9365

@taratorio taratorio enabled auto-merge (squash) January 13, 2025 14:39
@taratorio taratorio merged commit cc9388b into main Jan 13, 2025
13 checks passed
@taratorio taratorio deleted the shutter-decryption-keys-listener branch January 13, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[shutter] listen to libp2p decryption keys topic
2 participants