Network and blocks

What is Etchash?

Etchash is the proof-of-work algorithm of Ethereum Classic, a version of Ethash with a larger epoch.

Put it to work Bitcoin hashrate, live The network’s hashrate today and over time. Open the page
Coin
Ethereum Classic
Epoch
60,000 blocks, about 9 days
Dataset growth
8 MiB each epoch
Data read for one hash
8 KiB
Block time
about 13 seconds

What it means in practice

Each epoch builds a dataset, the DAG, that miners must hold in memory, so an Etchash miner needs enough memory for the current DAG size. Hashrate is quoted in MH/s or GH/s.

Checking a machine’s memory

The DAG grows a little with every epoch. A machine can mine as long as its memory holds it, so an older model with little memory stops being able to mine Ethereum Classic at some point. Makers state the memory; compare it with the DAG size today before buying a used machine.

Sixty-four looks into a big table

The header and nonce are hashed into a starting value. From it the miner works out a place in the dataset, reads 128 bytes, mixes them in, and works out the next place. After 64 such reads the mix is shortened and hashed once more. The place of each read depends on the one before, so nothing can be prepared in advance.

Those 64 reads add up to 8,192 bytes. Example figures: 3 GH/s means three billion hashes a second, so 24.6 terabytes are read from memory each second. Memory, not arithmetic, is what an Etchash machine is made of.

Working out the dataset size

It started at 1 GiB and grows by 8 MiB with every epoch. Example figures: in epoch 400 it is about 1,024 + 400 × 8 = 4,224 MiB. A year has about 40 epochs, so roughly 320 MiB are added in that time.

A machine also needs a little space for itself. If its memory is 5,120 MiB and some 100 MiB are taken, the room left in the example is about 796 MiB, or around two and a half years. The same sum with the real epoch and the maker’s memory figure shows how long a model has.

What changed in 2020

Ethereum Classic doubled the epoch length at block 11,700,000. The dataset restarted at a smaller size and has grown at half the pace since. The coin also got its own variant, so that hashrate could not be pointed at it directly from Ethash coins without a change.

Firmware knows both variants. The pool’s port decides which one runs. A wrong choice gives rejects from the first share, which is easy to see and easy to put right.

Late blocks and rewards

With a block every 13 seconds, two miners often find one at almost the same time. Ethereum Classic lets such a late block be named in a later one as an uncle, for a small part of the reward. Pools list uncles beside full blocks.

The block reward falls by 20% every five million blocks, a little over two years. It is a gentler step than halving and one to note in the calendar when you compare old and new figures.

Common mistakes

  • Buying by MH/s alone without asking for the memory size.
  • Assuming that a machine listed for “ETH” mines anything today without an Etchash setting.
  • Ignoring the minutes after an epoch change, when older machines rebuild the dataset and may restart.

Common questions

What is the difference between Ethash and Etchash?

Etchash doubled the epoch length, which slows the growth of the DAG. Many Ethash machines mine both with the right firmware.

Is Ethereum still mined?

No. Ethereum moved to staking in September 2022. Ethereum Classic kept mining.

What is the DAG?

The dataset itself. Its name comes from the way each part depends on others, a directed acyclic graph.

Do I have to store the dataset on disk?

No. The machine builds it in memory at the start of each epoch from a small seed.

Which other coins use Ethash today?

A few smaller ones. Each has its own epoch and so its own memory need. The coin list on a product page shows what that machine supports.

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