teamzednode / gingerbread

Dashboard for Tezos Bakers
https://gingerbread.zednode.com
MIT License
13 stars 2 forks source link

Figure out logic to calculate all rewards owed for a baker for completed cycles #10

Open rloomba opened 5 years ago

rloomba commented 5 years ago

completes 1 in https://github.com/teamzednode/gingerbread/issues/3#issuecomment-453310555

use RPC to find the actual reward delegate should get. Snapshots are taken every 256 blocks, so need to find out which randomly chosen snapshot was used.