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

review changes for parties receiving multiple shares #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sashni
Copy link
Contributor

@sashni sashni commented Jun 20, 2019

No description provided.

if (receivers_ratios == null) {
receivers_ratios = {};
for (var i = 1; i <= jiff.party_count; i++){
receivers_ratios[i] = 2;

Choose a reason for hiding this comment

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

Please what is the rational for setting to 2.

@kenluck2001
Copy link

Please provide a clear description of the tasks that you have completed in this PR.

@@ -308,7 +316,7 @@
* point from the polynomial.
*
*/
function jiff_compute_shares(jiff, secret, parties_list, threshold, Zp) {
function jiff_compute_shares(jiff, secret, parties_list, threshold, Zp, parties_ratios) {

Choose a reason for hiding this comment

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

How does parties_ratios differ from receivers_ratio?

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

Successfully merging this pull request may close these issues.

2 participants