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

blockchain: include total_stake in Epoch #23

Merged
merged 2 commits into from
Oct 12, 2023
Merged

blockchain: include total_stake in Epoch #23

merged 2 commits into from
Oct 12, 2023

Conversation

mina86
Copy link
Collaborator

@mina86 mina86 commented Oct 12, 2023

Having cached total stake value in Epoch structure helps with rewards
calculation where we need give validators proportional payouts for
signing blocks.

Having cached total stake value in Epoch structure helps with rewards
calculation where we need give validators proportional payouts for
signing blocks.
@mina86 mina86 requested a review from dhruvja October 12, 2023 03:14
Copy link
Collaborator

@dhruvja dhruvja left a comment

Choose a reason for hiding this comment

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

LGTM!!

@mina86 mina86 merged commit dfe735b into master Oct 12, 2023
4 checks passed
@mina86 mina86 deleted the mpn/b branch October 12, 2023 15:13
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.

3 participants