Skip to main content

Rewards

The miner that mine a block is rewarded for including transations and behaviors in a block as following:

Transactionsreward+BehaviorsrewardTransactions_{reward} + Behaviors_{reward}

Transactions reward

For each transaction included in the mined block, the miner gets a fixed transaction reward determined in the protocol specs

In this blockchain we wish not to discriminate large transactions in place of small ones. The solution to this issue is to have a fixed reward per transaction included in the block. In parallel a percentage of the transaction is also burned.

For nn transactions:

Transactionsreward=ntrTransactions_{reward} = n*tr

But to ensure to collect the transaction fixed reward, the transaction value multiplied by the transaction fee rate frf_r must be superior to it.

frminsenttrmincurfr \cdot min_{sent} \geq tr \geq min_{cur}

Example

With tr=1000tr=1000, fr=10%fr=10\% and n=3n=3 transactions with a total value of 1000010000, the transactions reward will be:

Transactionsreward=10003=3000Transactions_{reward} = 1000 * 3=3000

Behaviors reward

The miner gets multiple rewards for behaviors depending if it's its own or not:

  • Reward for its own Behavior used for mining, proportional to its quantity by a kk factor
  • Reward for all behaviors included in the block, proportional to the total quantity by a kk'' factor

Behaviorsreward=kbxm+i=1mkbxquantityBehaviors_{reward} = k*bx_m + \sum_{i=1}^{m} k''*bx_{quantity}

Example

With a miner tax of k=10k''=10% on behaviors, 33 behaviors with a total quantity of 1000010000, a miner's behavior quantity of 20002000 and a miner behavior's reward per quantity of k=2k=2, the behaviors rewards will be:

Behaviorsreward=20002+10%10000=5000Behaviors_{reward} = 2000*2 + 10\%*10000 = 5000

Global formula

For each block mined:

Minerrewards=ntr+kbxm+i=1mkbxquantityMiner_{rewards} = n*tr + k*bx_m + \sum_{i=1}^{m} k''*bx_{quantity}