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

[CSL-15] Add secret to local commitments when it's generated #402

Closed
jagajaga opened this issue May 29, 2017 · 2 comments
Closed

[CSL-15] Add secret to local commitments when it's generated #402

jagajaga opened this issue May 29, 2017 · 2 comments

Comments

@jagajaga
Copy link
Contributor

jagajaga commented May 29, 2017

@Gromak

When node generates a secret (currently it happens at the beginning of 0-th slot of any epoch), it should add corresponding commitment to mpcLocalCommitments and put it into generated block later (if it's leader). Currently it's not done.
I don't know about openning for own locally stored secret, but it should also be added to local openings and to block.

@jagajaga
Copy link
Contributor Author

@Gromak

Done except shares. Ideally we also should ensure that our shares are in block created by us (if not in someone else's block). However, it's harder to do and is less important, because we don't need shares usually.

@jagajaga
Copy link
Contributor Author

@Gromak

Approach is that secrets/openings are not put into local maps when they are generated or something, but they are put into MpcData which is result of getLocalMpcData.

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