vbr (Validator Block Rewards) module allows validators to get a recurrent reward each
time a new block is proposed, even if such a block does not contain any transaction.
# How it works
During genesis, a pool of tokens is created and it's filled with a decided amount of tokens.
From this point in
epoch duration timing, whenever an epoch ends an amount of tokens will be sent to the active validators.
The amount of tokens that will be sent to the validators that proposed the blocks during the epoch is computed using the formula described below.
Block produced in a year, considering a block interval of 5 seconds and a year length of 365 days and 8 hours:
Initial rewards pool amount:
Number of active validators
Annual distribution for the -th validator:
- is the amount of bonded tokens of the -th validator
Possible Epoch duration:
Yearly pool reward amount for the -th year:
- is the reward of the -th validator at the end of the -th epoch.
Let's define the maximum reward for the -th epoch as