ethereum / beacon_chain

MIT License
209 stars 65 forks source link

FFG Rewards penalties #110

Closed djrtwo closed 5 years ago

djrtwo commented 5 years ago

Addresses #83

Done:

to do:

djrtwo commented 5 years ago

Waiting on some clarity on the second part of the rewards calculations (crosslink rewards).

@hwwhww You can review the rest and we can merge unless V comes back with notes soon.

djrtwo commented 5 years ago

Just updated ValidatorRecord.balance to int128 and made the default deposit be in WEI

djrtwo commented 5 years ago

@hwwhww Addressed all the things. Can you take another look?

I'm still waiting on clarity from V but added a calculate_crosslink_rewards function as a stub

djrtwo commented 5 years ago

fixing lint now