Network and blocks

Block height

Block height is the number of a block in its chain, counted from the first block, which has height zero.

Put it to work The Bitcoin halving When the next one lands and what it changes. Open the page
First block
height 0, the genesis block
Bitcoin halving
every 210,000 blocks
Bitcoin difficulty change
every 2,016 blocks
Written into
the first transaction of each Bitcoin block
Read from
a node, a block explorer, a pool page

What it means in practice

Height is how people point at a moment in a chain's history: halvings, rule changes and difficulty adjustments happen at set heights. On Bitcoin the subsidy halves every 210,000 blocks and difficulty adjusts every 2,016 blocks, so the height tells you how far away the next of each is.

A calendar that counts blocks

Computers in different countries disagree about the second, but they agree about the last block. So the rules of a chain use height where people would use a date. “From height 840,000 the subsidy is halved” means the same thing to every node in the world.

The price of that certainty is that nobody knows the exact hour in advance. Blocks come a little faster when hashrate grows and slower when it falls, so an expected date moves by days over the months before.

Working out the next two events

Example figures: the chain stands at height 900,123. For difficulty, divide by 2,016: 446 full periods have passed, and the next begins at 447 × 2,016 = 901,152. That is 1,029 blocks away, about 7.1 days at ten minutes each.

For the halving, the next multiple of 210,000 is 1,050,000. It is 149,877 blocks away. Divided by 144 a day, that is about 1,041 days. Both sums can be done on paper with one number from a block explorer.

Height, depth and confirmations

Height counts from the start of the chain. Depth counts from the end. A payment in the newest block has one confirmation, and each block on top adds one. Example figures: a payment at height 900,120 when the tip is 900,123 has four confirmations.

New coins from a block need 100 further blocks on top before they can be spent. So a solo miner who finds height 900,123 can spend that reward from height 900,223 onward. A pool waits for the same number before it treats the reward as settled.

How many confirmations are enough depends on the sum. For a small payout one or two will do for most people. For a machine paid in coins a seller may wait for three to six.

Two blocks, one height

Height does not name a block by itself. For a short while two different blocks can share a height, and later one of them is dropped. The block’s hash is its true name. An explorer may list both, with one marked as stale.

On networks with parallel blocks the word becomes weaker still. Kaspa’s explorers show a blue score or DAA score, which grows with the network and serves the same purpose for rules and dates.

Worked example

At height 1,000,000 a Bitcoin-style chain is 160,000 blocks past the 840,000 halving and 50,000 blocks before the 1,050,000 halving.

Example figures, not live data.

Common mistakes

  • Planning around a halving date as if it were fixed to the day.
  • Comparing heights of two coins: Litecoin’s is larger because its blocks come four times as often.
  • Reading “block 900,123” on a pool page as proof of payment, when the block could still become stale.

Common questions

Can a transaction wait for a height?

Yes. A lock time below 500 million is read as a block height, and the transaction is not valid before it.

Why did my node stop at an old height?

It is still catching up, has lost its connection, or runs a version too old for new rules. Compare with an explorer to see how far behind it is.

Does height tell me how many coins exist?

On Bitcoin it gives a very close figure, because the subsidy at each height is fixed by the rules.

What the top Bitcoin miners earn today

Income per day for one machine, before electricity.

Top earner In stock
Bitmain Hydro

Antminer S23 Hyd 3U 1,160 TH/s

$32.66 income per day

Hashrate, Power
1,160 TH/s11,020 W
Price
$25,739
Coming soon
MicroBT Hydro

WhatsMiner M79S 930 TH/s

$26.18 income per day

Hashrate, Power
930 TH/s14,000 W
Price
Price on request
In stock
Bitdeer Hydro

SEALMINER A4 Ultra Hydro 886 TH/s

$24.94 income per day

Hashrate, Power
886 TH/s8,373 W
Price
$19,800
Coming soon
MicroBT Hydro

WhatsMiner M79 870 TH/s

$24.49 income per day

Hashrate, Power
870 TH/s14,000 W
Price
Price on request

Updated 6 minutes ago Not financial adviceHow we calculate