Usage: There is 2 aspects to this: the client (browser) and the server (the one that distributes the PoW)
Server:
- To create a central server that distributes the PoW, we use a modified version of Geth.
- To obtain this modified version, install Geth and add the files present in the ``geth-modification'' folder to the /consensus/ethash/ folder in Geth source tree. Note that sealer.go already exists in Geth, and so you would need to overwrite it with the one provided in this repository.
- Compile this modified version of Geth (instructions available in the Geth repository) and start the server.
- The server will listen at port 9000 for any incoming client connections from browsers.
Client:
- Change the ip of provided in miner.js (present in both the wasm and js implementations) to be the IP of the central server
- Run start-browser.sh (assumes linux with google chrome for now), and the browser will connect to the central server, get the current header hash and cache and then will start mining.