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

Add global calculate reputation method #6

Open
kelemeno opened this issue Dec 25, 2023 · 0 comments
Open

Add global calculate reputation method #6

kelemeno opened this issue Dec 25, 2023 · 0 comments

Comments

@kelemeno
Copy link
Owner

there is no efficient algorithm that can calculate reputation onchain. The way to calculate reputation is to find an order of nodes in the backend, and pass that as an array into the smart contract. Then it can calculate reputation one-by-one for all people, as it can make sure when it calculates the order for any person that the previous people have already been calculated (or they don't exist.)

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

No branches or pull requests

1 participant