cryptiumlabs / backerei

Automated reward payment & account management for Tezos bakers.
https://cryptium.ch/networks/tezos
GNU General Public License v3.0
49 stars 11 forks source link

Idealized payout when your baker has over 100% efficiency #8

Closed gaia closed 6 years ago

gaia commented 6 years ago

I understand idealized payouts will pay as if my baker filled 100% of its endorsements and backing slots.

But if my baker steals endorsements/bakes in addition to all the ones originally scheduled, does backerei pay out above what it would payout at 100% efficiency?

cwgoes commented 6 years ago

Endorsements cannot be stolen. Backerei does not presently pay stolen blocks (in line with the idealized payout schedule, stolen blocks are paid wholly to the baker). Backerei does pay realized transaction fees (since they cannot be predicated ahead of time).

Configuration options supporting different payout strategies would be great additions, and we'd be happy to review/merge PRs implementing such. Idealized payouts are more complicated than realized ones; you could easily update the calculateRewards function to pay exactly what your baker actually made (less fees).

gaia commented 6 years ago

Thanks Chris. I will look further into this and see if I can send a PR.