打开以太坊挖矿池
This pool is being further developed to provide an easy to use pool for Ethereum miners. This software is functional however an optimised release of the pool is expected soon. Testing and bug submissions are welcome!
Dependencies:
I highly recommend to use Ubuntu 16.04 LTS.
First install go-ethereum.
Clone & compile:
git config --global http.https://gopkg.in.followRedirects true
git clone https://github.com/sammy007/open-ethereum-pool.git
cd open-ethereum-pool
make
Install redis-server.
./build/bin/open-ethereum-pool config.json
You can use Ubuntu upstart - check for sample config in upstart.conf.
Install nodejs. I suggest using LTS version >= 4.x from https://github.com/nodesource/distributions or from your Linux distribution or simply install nodejs on Ubuntu Xenial 16.04.
The frontend is a single-page Ember.js application that polls the pool API to render miner stats.
cd www
Change ApiUrl: '//example.net/' in www/config/environment.js to match your domain name. Also don't forget to adjust other options.
npm install -g [email protected]
npm install -g bower
npm install
bower install
./build.sh
Configure nginx to serve API on /api subdirectory.
Configure nginx to serve www/dist as static website.
Create an upstream for API:
upstream api {
server 127.0.0.1:8080;
}
and add this setting after location /:
location /api {
proxy_pass http://api;
}
You can customize the layout using built-in web server with live reload:
ember server --port 8082 --environment development
Don't use built-in web server in production.
Check out www/app/templates directory and edit these templates
in order to customise the frontend.
Configuration is actually simple, just read it twice and think twice before changing defaults.
Don't copy config directly from this manual. Use the example config from the package, otherwise you will get errors on start because of JSON comments.
…
If you are distributing your pool deployment to several servers or processes, create several configs and disable unneeded modules on each server. (Advanced users)
I recommend this deployment strategy:
docs/PAYOUTS.md.poolFeeAddress is not specified all pool profit will remain on coinbase address. If it specified, make sure to periodically send some dust back required for payments.This pool is tested to work with Ethcore's Parity. Mining and block unlocking works, but I am not sure about payouts and suggest to run official geth node for payments.
Made by sammy007. Licensed under GPLv3.
ETH/ETC: 0xb85150eb365e7df0941f0cf08235f987ba91506a
Highly appreciated.
暂无开放 Issues,或尚未同步最近议题。