Ethash
Ethash is a proof-of-work hashing algorithm that was used by the Ethereum network from its launch in 2015 until the transition to proof-of-stake in 2022. It is designed to be memory-hard, requiring large amounts of RAM and memory bandwidth to compute, with the goal of reducing the advantage of specialized hardware and keeping mining accessible to a broad range of devices. A central concept in Ethash is the Directed Acyclic Graph (DAG), a large data set generated anew for each epoch and used as a source of data during mining. The DAG is regenerated periodically and grows in size over time, which increases the memory requirements for miners.
Mining with Ethash involves producing a valid nonce by running a Hashimoto-based computation. For a given block
Epochs of the protocol last 30,000 blocks (roughly five days under typical conditions), and the DAG is
With Ethereum’s transition to proof of stake in 2022, Ethash ceased to be used for consensus validation