Author:admin
glcoin combines the features and strengths of both Proof of Space & Time (PoST)
and Proof of Staking (PoS). In the process of producing blocks, Proof of Space is still
the foremost consideration; the more plots miners have, the greater the probability
that they will be selected to produce blocks. And as more miners join, space on the
network will increase, and so the difficulty of the "hashing calculation" will need to
be adjusted accordingly.
Inthe consensus mechanism of glcoin, the system will first provide a base difficulty
that is consistent across the entire network, and then the nodes will adjust
corresponding individual difficulty according to the number of coins staked by each
miner. The lower the difficulty coefficient, the greater the probability of being
selected to produce the block.
● D is Difficulty of the entire network;
● D' is individual difficulty;
● SF is Staking Factor;
● S is the amount of Staking;
● N is Miner's plots size(TiB), which 1TiB equal to 1; and
special constants are denoted as A, usually A=1. Then the staking formula is as
follows:
● A is a constant with a default value of 1 and a range of (1, 2); it is used to fine-tune the extent to which staking influences mining difficulty.
When A = 1, the staking factor (SF) falls within the range of (0.5, 1.5), which serves as the standard parameter configuration for the mainnet.
D' = D × SF
SF = 0.5 + 1 / (S / N + A)
D' = D * (0.5 + 1 / (S / N + A))
The Individual Difficulty of every miner is equal to the Difficulty of the entire
network multiplied by a Staking Factor.
That is to say, Individual Difficulty(D') =
Difficulty(D) * Staking Factor(SF).
The function of the A is to fine-tune the staking effect, and it is approximately in the range of [1, 2]. When A=1, the coefficient will fall in the interval [0.5, 1.5].
That is, the miner’s individual difficulty is 50% higher than the difficulty of the entire
network if he does not stake any gl; The individual difficulty is equal to the
difficulty of the entire network if the miner stake the amount of gl same with his
plots size(TiB); The miner can significantly increase the probability to win the block
if he stake the amount of gl more than his plots size(TiB)