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

Rewards #1115

Closed
wants to merge 3 commits into from
Closed

Rewards #1115

wants to merge 3 commits into from

Conversation

ilblackdragon
Copy link
Member

@ilblackdragon ilblackdragon commented Jul 30, 2019

  • Gas limit and gas used in the block
  • Compute gas used
  • Propagate gas used to chunks and blocks
  • Award validators reward based, using total storage used and gas used for every block as arguments
  • Award protocol with % of the validator reward
  • Award every contract with % of the gas used.

Depends on:

@ilblackdragon ilblackdragon changed the base branch from master to staging July 30, 2019 04:52
@@ -280,7 +288,8 @@ impl From<AnnounceAccountRoute> for network_proto::AnnounceAccountRoute {
peer_id: announce_account_route.peer_id.into(),
hash: announce_account_route.hash.into(),
signature: announce_account_route.signature.into(),
..Default::default()
cached_size: Default::default(),
Copy link
Collaborator

@bowenwang1996 bowenwang1996 Jul 31, 2019

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's easier to track down the missing fields in the Into converters this way.

@ilblackdragon
Copy link
Member Author

@bowenwang1996 is working on this and merging into chunks #1013 instead. Closing this.

@ilblackdragon ilblackdragon deleted the rewards branch August 11, 2019 22:21
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