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

P2P #22

Draft
wants to merge 99 commits into
base: main
Choose a base branch
from
Draft

P2P #22

wants to merge 99 commits into from

Conversation

gluax
Copy link

@gluax gluax commented Apr 19, 2022

Adds P2P capabilities.

Just a draft for now while we figure out the final details. Also, I'm not sure where I'm sending the final data or where I get the initial data.

@gluax gluax added the enhancement New feature or request label Apr 19, 2022
@gluax gluax self-assigned this Apr 19, 2022
@gluax gluax requested a review from jasperdg April 25, 2022 15:42
logger.info(`Received median \`${full_msg}\' from peer \`${peer}\``);

let same_median = true;
let received_median = parseFloat(full_msg);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe using big.js instead of JS numbers would be better due the unknown amount of decimals

mennatnaga and others added 30 commits July 18, 2022 04:09
…tions before processing the same round again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants