Network and blocks

What is Equihash?

Equihash is a memory-hard proof-of-work algorithm used by Zcash and a few other coins.

Put it to work Bitcoin hashrate, live The network’s hashrate today and over time. Open the page
Coin
Zcash
Settings on Zcash
n = 200, k = 9
One solution
512 numbers, 1,344 bytes
Counted in
solutions per second (Sol/s)
Zcash block time
75 seconds

What it means in practice

Miners solve a puzzle that needs a fair amount of memory, and hashrate is quoted in solutions per second (Sol/s), with ASIC miners in kSol/s. Zcash ASICs are built for the Equihash 200,9 settings.

Why the numbers look different

A Zcash machine’s 840 kSol/s is not a small number next to a Bitcoin machine’s 270 TH/s: it counts finished puzzles, not single hashes. Compare Zcash machines with each other, in watts per kSol/s.

The two figures after the name set how much memory a puzzle takes. A machine built for 200,9 does not mine coins that use other settings.

A puzzle about birthdays

In a room of 23 people two probably share a birthday. Equihash uses the same effect. The miner makes a list of about two million hashes from the header and looks for pairs whose first 20 bits are equal. It combines the pairs, looks for matches in the next 20 bits, and goes on like that for nine rounds.

What is left at the end is a set of 512 numbers whose hashes cancel each other out. That set is the solution. Keeping the list takes memory, and throwing it away means starting over. This is what “memory-hard” means here.

From solution to block

A solution by itself wins nothing. It is added to the header, and the whole is hashed. Only if that hash lies below the target is it a block, or a share at the pool’s easier target. A nonce gives close to two solutions on average, so solutions and nonces are counted separately.

Checking is quick: the node repeats 512 hashes and sees whether they cancel. The price is size. Each Zcash header carries 1,344 extra bytes, while a Bitcoin header has 80 in total.

What the two settings do

n is the length of the hash that must cancel, and k the number of rounds. With 200 and 9 each round compares 200 ÷ 10 = 20 bits. Other coins chose 144,5 or 192,7, which need much more memory for one puzzle. A machine’s memory is laid out for one setting, so it cannot change.

Some coins also add a word of their own to the hash, called personalization. The pool tells the machine, if the firmware supports it.

Comparing two machines

Divide watts by kSol/s. Example figures: 800 kSol/s at 2,600 W is 3.25 W per kSol/s, and 400 kSol/s at 1,500 W is 3.75. The first uses about 13% less energy for the same work.

Then look at the share of the network. Zcash finds 1,152 blocks a day. Example figures: 800 kSol/s on a network of 12 GSol/s is 0.0067%, or about 0.077 blocks a day, one in 13 days on average. A pool turns that into a daily amount.

Use the same power mode for both, since makers quote several.

Common mistakes

  • Reading kSol/s as thousands of hashes and calling the machine slow.
  • Buying a machine for a coin that uses 144,5 because both say Equihash.
  • Sending payouts to a shielded address at a pool that pays only to transparent ones.

Common questions

Which coins use Equihash 200,9?

Zcash is the main one. Some smaller coins use it too.

Can a graphics card mine Zcash?

It can run the algorithm, and dedicated machines do far more work for the same power.

Who created Equihash?

It was presented by two researchers of the University of Luxembourg in 2016 and adopted by Zcash for its launch the same year.

Is Zcash mining private?

The reward is created publicly and can be shielded afterward. What a pool pays you depends on the address types it supports.

What is the difference between Sol/s and I/s?

I/s counts runs of the solver. Each run finds about two solutions, so Sol/s is close to double.

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 7 minutes ago Not financial adviceHow we calculate