Subsidy halving

Next Ycash halving

Loading

Time left until the next block-subsidy halving, from the chain tip.

—Days
—Hours
—Minutes
—Seconds

Target countdown

Current height
—
Next halving
—
Blocks remaining
—
This halving era —

Target ETA

—

Target block spacing

Observed ETA

—

Observed block spacing

Last updated —

Ycash reward consensus directly taken from the chain source code

Set in the official Ycash code.

  1. The cutoff block. src/chainparams.cpp sets the end of the required development fund share at block 2,275,000.

  2. The network rule. src/main.cpp checks every new block. Below block 2,275,000, a block without the 5% payment to the fund is rejected. At or above it, the code doesn't check for that payment at all, so a block paying 100% to the miner is fully valid.

  3. The miner's default. src/miner.cpp builds the reward when a node mines a block. After 2,275,000 it labels the fund payment "optional" and sends whatever percentage the miner's own setting says. A comment there says that if the miner sets it to 0, the whole reward goes to the miner.

  4. Where the 5% comes from. src/consensus/consensus.h sets that miner setting's default to 5%. Miners who never change it still donate 5%, but that's their own choice, not something the network enforces.

So the protocol gives the full block reward to the miner.