Skip to content

Refactor session keys#1605

Merged
turuslan merged 13 commits intomasterfrom
refactor/session-keys
May 16, 2023
Merged

Refactor session keys#1605
turuslan merged 13 commits intomasterfrom
refactor/session-keys

Conversation

@turuslan
Copy link
Copy Markdown
Contributor

Referenced issues

Description of the Change

  • intersect keystore with babe/gran/para/audi authorities for block

Benefits

  • babe/gran work after rotateKeys without restarting node

Possible Drawbacks

turuslan added 7 commits May 11, 2023 10:40
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Copy link
Copy Markdown
Contributor

@kamilsa kamilsa left a comment

Choose a reason for hiding this comment

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

Please update caching of session keys, so that we remember index of where authority key was positioned last time. If it is not there, we can iterate through all keys

Comment thread core/authority_discovery/publisher/address_publisher.cpp Outdated
turuslan added 3 commits May 12, 2023 13:08
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@turuslan turuslan requested a review from kamilsa May 12, 2023 10:15
@kamilsa kamilsa requested a review from Harrm May 12, 2023 11:47
Comment thread core/crypto/crypto_store/session_keys.hpp Outdated
Comment thread core/crypto/crypto_store/session_keys.cpp Outdated
turuslan added 3 commits May 15, 2023 09:30
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@turuslan turuslan requested a review from Harrm May 16, 2023 09:48
@turuslan turuslan enabled auto-merge (squash) May 16, 2023 10:15
@turuslan turuslan merged commit 5710bbb into master May 16, 2023
@turuslan turuslan deleted the refactor/session-keys branch May 16, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants