Skip to content

Collators reward.#43

Merged
benoitdevos merged 2 commits into
mainfrom
feature/payout_collators
Nov 16, 2023
Merged

Collators reward.#43
benoitdevos merged 2 commits into
mainfrom
feature/payout_collators

Conversation

@benoitdevos

Copy link
Copy Markdown
Contributor
  • Runtime must implement fn get_collators() -> Vec<AccountId>.
  • For n collators, each of them receive 1/n amount - but exact amount may differ at the last digit due to rounding.

Not included: the vec of collators should be shuffled (or similar mechanism) in order to avoid rounding always occur similarly for the same accounts.

logion-network/logion-internal#1066

@gdethier gdethier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good job!

Comment thread logion-shared/src/lib.rs Outdated
@gdethier gdethier self-requested a review November 16, 2023 08:12
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

Successfully merging this pull request may close these issues.

2 participants