proofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflowproofofnonzeroinflo

halving

every 210 blocks the fraction of the reserve a block may pay is cut in half. it starts at one eighth and stops halving at one part in 65,536.

the steps

eight eras drawn as a staircase. the current era is filled.

1/8era 01 to 2101/16era 1211 to 4201/32era 2421 to 6301/64era 3631 to 8401/128era 4841 to 1,0501/256era 51,051 to 1,2601/512era 61,261 to 1,4701/1024era 71,471 to 1,680

where the chain is

read from the vault.

height
era
fraction paid
blocks to next halving
next coinbase
tax received
reserve
paid to finders
paid to rigs
spent on burns

the schedule

all fourteen eras.

the first block of an era is the block right after a multiple of 210. block 211 is the first to pay one sixteenth. block 421 is the first to pay one thirty second.

halving here changes how fast the reserve is spent, not how much there is to spend. the same tax arrives either way. a smaller fraction means a larger reserve, and a larger reserve means each coinbase, though a smaller slice, is cut from more.

after era 13 the shift stays at sixteen bits for good. from block 2,731 on, every block pays one part in 65,536 of the reserve.

era = floor((height - 1) / 210)

shift = min(16, 3 + era)

coinbase = reserve >> shift

erafirst blocklast blockshiftfraction paidfraction kept
0121031/887.500%
121142041/1693.750%
242163051/3296.875%
363184061/6498.438%
48411,05071/12899.219%
51,0511,26081/25699.609%
61,2611,47091/51299.805%
71,4711,680101/102499.902%
81,6811,890111/204899.951%
91,8912,100121/409699.976%
102,1012,310131/819299.988%
112,3112,520141/1638499.994%
122,5212,730151/3276899.997%
132,731no end161/6553699.998%

an idle reserve

what is left of a reserve after n blocks if those blocks brought almost no tax, in era 0.

a block cannot be found without a delivery, so the reserve is never spent while nothing comes in. but if blocks keep coming on tiny deliveries, each one still takes its eighth. this table shows how a reserve drains in that case.

blocksreserve left
187.5%
276.6%
458.6%
834.4%
1611.8%
321.4%