Ethash is the proof-of-work function in Ethereum-based blockchaincurrencies. It is a hash function belonging to the Keccak family, the same family which the SHA-3hash functions belong to. However, Ethash is not a SHA-3 function, and should not be confused with them. Since version 1.0, Ethash has been designed to be ASIC-resistant via memory-hardness and easily verifiable. It also uses a slightly modified version of earlier Dagger and Hashimoto hashes to remove computational overhead. Previously referred to as Dagger-Hashimoto, the Ethash function has evolved over time. Ethash uses an initial 1 GB dataset known as the Ethash DAG and a 16 MB cache for light clients to hold. These are regenerated every 30,000 blocks, known as an epoch. Miners grab slices of the DAG to generate mix-hashes using transaction and receipt data, along with a cryptographic nonce to generate a hash below a dynamic target difficulty.
In April 2018, the first ASIC miners for Ethash, the ASIC-resistant hash, were announced by Bitmain. Fear of over-influence from Bitmain and 51% attacks prompted discussions of bricking the devices, forcing ASIC miners into hard-mode mining, or continuing or expediting development and eventual release of Casper. Vitalik Buterin, the co-founder Ethereum, considers ASIC miners to not be a threat to Ethereum. It was decided that Ethereum would switch from its pureproof of work to a hybrid Proof of Work and Proof of Stake scheme called "Casper the Friendly Finality Gadget", where every 1 in 50 blocks is created with Proof of Stake for partial finality. On a future hard fork yet to be decided, Ethereum will produce all new blocks with Proof of Stake through a separatedesign of Casper, known as "Casper the Friendly GHOST" or sometimes "Casper Correct-By-Construction", and Ethash will be officially deprecated on the main Ethereum blockchain due to an exponential rise in mining difficulty. Other blockchains utilizing Ethash have not announced plans to deprecate its use.