DMDcoin / diamond-contracts-core

DMD v4 testnet on-chain logic
Other
7 stars 9 forks source link

proportional epoch rewards for smaller validator sets #89

Open SurfingNerd opened 3 years ago

SurfingNerd commented 3 years ago

currently the payout for every epoch is the same size, regardless of the number of validators.

This means, that in a case of 4 validators, every validator receives 1/4 of the epoch reward, what is a lot more than the 1/25 the validators receive for a full set. This could be seen as a financial incentive to create only small sets, what increases the chances for failures.

In the future, only an according fraction of the reward should get payed out. so a validator set of 10 will get 10/25 of the rewards.

Also validators that become unavailable during the epch ( flag: validator available since...) will not receive a reward. This can happen if they get mallice reported during an epoch (feature not implemented yet.)

SurfingNerd commented 2 years ago

The DAO get's 10% of the amount distributed, NOT what it would get if we the validator set would be a full set of 25.

cryptonit commented 2 years ago

sorry that was a missunderstanding

the DAO get a flat income per time

that means if a epoch have lower payout because less then 25 validators then the DAO still get same ammount

most easy would be if u see it as 27,5 epoch reward shares

the DAO get 2.5 shares

each active validator get 1 share

rest stay in pot

SurfingNerd commented 1 year ago

we need to cover different proportional reward scenarios in the tests.