PoS (Proof of Stake) and the AntiStall / Cashback MechanismPoS is a fantastic technology:
✅ Requires less computing power
✅ Is faster
✅ Is accessible to more people
Everything sounds great, but what happens if there are no PoS miners? 🤔
The answer is simple: the blockchain stops.
That’s why, from the very first version, we implemented the AntiStall / Cashback mechanism.
🔹 How Does It Work?If all miners are waiting for a new block between the last mined block (+0) and the next one (+1200), this waiting period is called
maturity.
A miner can only mine the next block once maturity is reached (from block +1201).
Other available miners who are not in the maturity period can mine.
💡 But what happens if
all miners are in maturity? Would the blockchain stop?
Absolutely not!That’s because there is a "cashback/antistall" wallet, which mines when no miners are available or when all miners are in maturity.
💰 Cashback Wallet & Reward RedistributionThe Cashback wallet, when mining, collects NLEAD rewards as if it were a small investor.
According to the whitepaper, the funds collected by the Cashback wallet are
redistributed to PoS miners.
@casus from the NeuralLead community has proposed two ways to distribute these rewards:
Variant 1 (by weight):Every 1200 blocks (maturity), all PoS miners who participated in the creation of new blocks within the range (0-1200 blocks) are rewarded based on the value of their wallet at the time the block was mined.
Example:
First, we sum all the weights in the 0-1200 range, which, for example, are 10,000 NLEAD.
- Miner 1, who had 800 NLEAD in their wallet, will take 8% of the cashback wallet's content
- Miner 2, who had 8,000 NLEAD in their wallet, will take 80% of the cashback wallet's content
- Miner 3, who had 3,200 NLEAD in their wallet, will take 32% of the cashback wallet's content
The funds in the cashback wallet, collected over the 1200 blocks, will be distributed based on the staking value.
Variant 2 (by class):The content of the cashback wallet in NLEAD is given to the miner who mined the block. For example:
- If the block was mined by a Big miner, they will receive 84% of the cashback wallet's content in NLEAD
- If the block was mined by a Small miner, they will receive 7% of the cashback wallet's content in NLEAD
The amount paid from the cashback pool cannot exceed the normal PoS reward value for small, medium, and big stakers. This means that the closest block winner (Big) will not drain 84% of the current cashback pool, and it will decrease slowly until there are enough PoS investors, at which point the cashback pool will stop receiving rewards.
In simple terms, this means every PoS investor will receive twice as many rewards for a mined block (one from the block and one from the cashback pool) as soon as the appropriate amount of coins are available in the cashback pool.
Important:In both Variants 1 and 2, in addition to taking the reward from the blockchain, you will receive a second reward from the cashback wallet's content. Note that it is required for the cashback wallet to always have at least 2.4 NLEAD, so this value will be deducted from every reward.
As always, the community will decide which implementation to adopt, so I will post a poll in #general on Discord and on Telegram. A big thanks again to @casus for the proposals, and we will await the results of the poll to implement either the first or second variant.
There will also be some upcoming news on DataMining, stay tuned!