Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

[CSL-13] SetSecret is used only when epoch starts #400

Closed
jagajaga opened this issue May 29, 2017 · 1 comment
Closed

[CSL-13] SetSecret is used only when epoch starts #400

jagajaga opened this issue May 29, 2017 · 1 comment

Comments

@jagajaga
Copy link
Contributor

jagajaga commented May 29, 2017

@Gromak

There are at least two problems:

  1. If node becomes offline during one of the first k slots, it wants to participate in MPC and it can, but it won't do it in current version;
  2. Currently secret stored in MpcStorage is unset when genesis block is processed by this storage. And it's set only at the beginning of epoch. There is a problem, because genesis block for k-th epoch may be processed after the beginning of k-th epoch. For example, if there was a rollback which affected k - 1-th epoch. In this case stored secret will be unset and will never be set again for k-th epoch.
@jagajaga
Copy link
Contributor Author

@Gromak

Suddenly 2 was fixed by me recently :/

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

No branches or pull requests

1 participant