Module agora.consensus.Reward

Contains functions to calculate the block reward.

Block rewards are given to validators for verifying transactions and signing blocks. This serves as an incentive for coin holders to participate in the network as validators. The more active validators the network has, the more signatures are on the blocks, and ultimately the more secure the overall network is.

Block rewards are also sent to the Commons Budget address for the first 6.7 years. After that period, the Commons Budget will be funded only from the transaction and data fees.

Here are some finer details of the block reward calculation:

Classes

NameDescription
Reward Calculate Block Rewards for Validators and Commons Budget

Structs

NameDescription
BlockRewards struct to return the calculated block rewards for the Validators and the Commons Budget