lukovkin / ethash

Ethash Python spec code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ethash

Ethash Python spec code

Ethash (Ethereum Proof-of-Work algorythm) Python spec code from https://github.com/ethereum/wiki/wiki/Ethash with some changes. For those who want to try to understand how Ethereum PoW works without delving into low-level programming.

Runs on Python 2, fails on Python 3.

Usage: python ethash.py

Right now doesn't accept command line arguments.

Changes in comparison with Wiki version:

Notes:

  • I'm not sure that changes made to the algo are correct, advise needed
  • Preparation of the full dataset takes a few hours on my box (in a single thread). Multiprocessing is to be used to speed up.

About

Ethash Python spec code


Languages

Language:Python 100.0%