{"repo":"chfast/ethash","free":true,"listed":false,"github":"https://github.com/chfast/ethash","clone":"git clone https://github.com/chfast/ethash.git","description":"C/C++ implementation of Ethash and ProgPoW – the Ethereum Proof of Work algorithms","language":"C++","stars":149,"topics":["ethereum","mining","ethash","proof-of-work","c","cpp","progpow","hacktoberfest"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Ethash C/C++ implementation of Ethash – the Ethereum Proof of Work algorithm Table of Contents - Install - Usage - Optimizations - Maintainer - License Install Build from source using CMake. Usage See [ethash.hpp] for a list of exported functions and documentation. Optimizations This section describes the optimizations, modifications and tweaks applied in this library in relation to [Ethash reference implementation]. The library contains a set of micro-benchmarks. Build and run the ethash-bench tool. Seed hash is computed on the fly. Seed hash is a sequence of keccak256 hashes applied the epoch number of times. Time needed to compute seed hash is negligible compared to time needed to build light cache. Computing seed hash for epoch 10000 takes 5 ms, building light cache for epoch 1 takes 500 ms. Dataset size is computed on the fly Computing the size of the full dataset and light cache requires finding the largest prime number given an upper bound. For similar reasons as with seed hash, this is computed on the fly. The procedure used is quite naive and forks well only up to 40-bit number, so some additional improvement can be done in the future. Maintainer Paweł Bylica [@chfast] License Licensed under the [Apache License, Version 2.0]. [@chfast]: https://github.com/chfast [Apache License, Version 2.0]: LICENSE [ethash.hpp]: include/ethash/ethash.hpp [Ethash reference implementation]: https://github.com/ethereum/wiki/wiki/Ethash","default_branch":null,"files":null,"tree":[],"storefront":"/r/chfast","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chfast/ethash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}