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

Transcript epoch versioning #161

Open
cygnusv opened this issue Sep 13, 2023 · 1 comment
Open

Transcript epoch versioning #161

cygnusv opened this issue Sep 13, 2023 · 1 comment

Comments

@cygnusv
Copy link
Member

cygnusv commented Sep 13, 2023

Let's call "epoch" to each period with a given configuration of valid private shares (each of them held by a different node). On each successful recovery or refresh protocols, there will be a new set of valid private shares, and therefore, a new epoch.

For the moment, we don't have recovery and refresh protocols in production, so all our cohorts can only be at epoch 0, but for next releases, we will need some versioning mechanism to handle new epochs.

@piotr-roslaniec
Copy link

piotr-roslaniec commented Jan 19, 2024

We could use the block number for the current epoch, similar to how Ferveo originally did.

So instead of (for example) starting at 0 and incrementing, we can compare epochs of two sets of private shares and discard the older one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants