You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/staking/block_reward.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,49 +7,46 @@ tags:
7
7
8
8
# Staking
9
9
10
-
11
10
## Block Reward
12
-
---
13
11
14
-
Block rewards in a blockchain serve as an incentive for validators who actively contribute to the creation of new blocks within the blockchain network. This rewarding process, commonly referred to as validation, is particularly relevant in **delegated proof-of-stake (DPoS)** blockchains.
12
+
Block rewards in a blockchain serve as an incentive for validators who actively contribute to the creation of new blocks within the blockchain network.
15
13
16
14
In DPoS blockchains, validators are selected to validate transactions and generate new blocks based on the quantity of XPLL they have staked within the network. As a reward for their contributions, validators receive a share of the transaction fees and a portion of the block rewards for successfully creating new blocks.
17
15
18
16
Block rewards play a crucial role in blockchain networks by serving multiple purposes. They incentivize miners and validators' participation in the network's consensus process, thereby upholding the security and integrity of the network. Additionally, block rewards facilitate the introduction of new XPLL into circulation, ensuring the long-term sustainability of the network.
19
17
18
+
This document provides a rough overview of the calculation of block rewards. The exact formulas that Fullnodes use to calculate rewards are specified near the end of the ["next epoch" section](https://github.com/parallelchain-io/parallelchain-protocol/blob/master/Runtime.md#next-epoch) of the Runtime chapter of the ParallelChain Protocol specification.
20
19
21
-
Reward formulas can be found in the technical documentation [parallelchain-protocol](https://github.com/parallelchain-io/parallelchain-protocol/blob/master/Runtime.md).
22
20
23
21
### Reward Rate
24
22
25
-
The block reward amount gradually decreases as additional blocks are incorporated into the blockchain over time. This process, which is known as the **block reward halving**, is a characteristic found in various blockchain networks, such as Bitcoin. By implementing the block reward halving, the supply of cryptocurrency is regulated, effectively curbing inflationary pressures.
23
+
The block reward amount gradually decreases as additional blocks are incorporated into the blockchain over time. This process, which is known as the **block reward reduction**, is a characteristic found in various blockchain networks, such as Bitcoin (where it is popularly called "halving"). By implementing the block reward reduction, the supply of cryptocurrency is regulated, effectively curbing inflationary pressures.
26
24
27
-
The reward rate is calcuated as following:
25
+
Block rewards in ParallelChain Mainnet gradually reduce according to the following formula:
28
26
29
-
- First year: 8.5% per annum
27
+
- First year: 8% per annum
30
28
- Reduce 15% per annum
31
29
- After 10 year (3650 days): keep at 1.5% per annum
32
30
33
-
34
31
The **total amount of rewards (issuance)** introduced to the network is calculated as follows:
35
32
36
33
$$
37
-
\operatorname{Total amount of stake} \times \operatorname{Issuance rate}
34
+
\text{Total amount of stake} \times \text{Issuance rate}
38
35
$$
39
36
40
37
For example, if the *total amount of stake* of a validator is `100,000 XPLL` currently, and the *issuance rate* is `0.001`, then the *total amount of XPLL to be issued* to that validator in the next epoch will be `100,000 * 0.001 = 100 XPLL`.
41
38
42
39
43
-
The issuance rate is calculated as follows:
40
+
The **issuance rate** is calculated as follows:
44
41
45
42
$$
46
-
\operatorname{Issuance rate at n-th epoch} = 0.0835 \times \frac{0.85^{\frac{n}{365}}}{365}
43
+
\text{Issuance rate at n-th epoch} = 0.0835 \times \frac{0.85^{\frac{n}{365}}}{365}
47
44
$$
48
45
49
-
but after 10 years, the formula will be changed to:
46
+
after 10 years (or equivalently, after $n >= 3650$), the issuance rate will become a constant:
50
47
51
48
$$
52
-
\operatorname{Issuance rate} = \frac{0.0150}{365}
49
+
\text{Issuance rate per epoch after 10 years} = \frac{0.0150}{365}
53
50
$$
54
51
55
52
### Delegator Reward
@@ -59,12 +56,12 @@ Delegators receive a portion of the newly issued rewards based on the amount the
59
56
Let's assume that in the upcoming epoch, the validator `V` will receive a *total reward* of `100 XPLL`. `V` has set a *commission fee* of `1%`. Additionally, one of its delegators, `D`, has contributed `10%` of the total staked amount to `V`. Then in the next epoch, `D` will be rewarded:
- The values provided in the examples are approximate estimates and may not be exact. The accuracy of calculated values can be influenced by factors such as decimal truncation in integer division and the order of arithmetic operations.
70
-
- The formulas are valid since protocol version v0.4 but could be subjected to change in future protocol versions.
67
+
- The above formulas are valid as of protocol version v0.4 but are subject to change in future protocol versions.
0 commit comments