Brother even blockchain tutorial Open-ethereum-pool mining pool Source code Analysis main entrance, the second half of 2018, the blockchain industry is gradually fade to the beginning of the impetuous, the return to rationality, on the surface of the demand and price of relevant talent seems to be falling. But the fact is that the initial bubble is fading, giving people more focus on the real technology of blockchain.
Open-ethereum-pool Ethereum mine Pool-main entrance command line startup
./build/bin/open-ethereum-pool config.json
Config.json configuration file
{????" Threads ": 2,????" Coin ":" ETH ",????" Name ":" Main ",????" Proxy ": {????????" Enabled ": True,????????" Listen ":" 0.0.0.0:8888 ",????????" Limitheaderssize ": 1024x768,????????" Limitbodysize ":,????????" Behindreverseproxy ": false,????????" Blockrefreshinterval ":" 120ms ",????????" Stateupdateinterval ":" 3s ",????????" Difficulty ": 2000000000,????????" Hashrateexpiration ":" 3h ",????????" Healthcheck ": True,????????" Maxfails ":,????????" Stratum ": {????????????" Enabled ": True,????????????" Listen ":" 0.0.0.0:8008 ",????????????" Timeout ":" 120s ",????????????" Maxconn ": 8192????????},????????" Policy ": {????????????" Workers ": 8,????????????" Resetinterval ":" 60m ",????????????" RefreshInterval ":" 1m ",????????????" Banning ": {????????????????" Enabled ": False,????????????????" Ipset ":" Blacklist ",????????????????" Timeout ": 1800,????????????????" Invalidpercent ":,????????????????" Checkthreshold ":,????????????????" Malformedlimit ": 5????????????},????????????" Limits ": {????????????????" Enabled ": False,????????????????" Limit ":,????????????????" Grace ": 5m",???????????????? " Limitjump ":????????????}????????}????},????" API ": {????????" Enabled ": True,????????" Purgeonly ": false,????????" Purgeinterval ":" 10m ",????????" Listen ":" 0.0.0.0:8080 ",????????" Statscollectinterval ":" 5s ",????????" Hashratewindow ":" 30m ",????????" Hashratelargewindow ":" 3h ",????????" Luckwindow ": [+],????????" Payments ":,????????" Blocks ":????},????" Upstreamcheckinterval ":" 5s ",????" Upstream ": [???????? {????????????" Name ":" Main ",????????????" URL ":" http://127.0.0.1:8545 ",????????????" Timeout ":" 10s "????????},???????? {????????????" Name ":" Backup ",????????????" URL ":" http://127.0.0.2:8545 ",????????????" Timeout ":" 10s "????????}????],????" Redis ": {????????" Endpoint ":" 127.0.0.1:6379 ",????????" Poolsize ": Ten,????????" Database ": 0,????????" Password ":" "????},????" Unlocker ": {????????" Enabled ": False,????????" Poolfee ": 1.0,????????" Poolfeeaddress ":" ",????????" Donate ": True,????????" Depth ":,????????" ImmaturedePTH ":,????????" Keeptxfees ": false,????????" Interval ":" 10m ",????????" Daemon ":" http://127.0.0.1:8545 ",????????" Timeout ":" 10s "????},????" Payouts ": {????????" Enabled ": False,????????" Requirepeers ":,????????" Interval ":" 120m ",????????" Daemon ":" http://127.0.0.1:8545 ",????????" Timeout ":" 10s ",????????" Address ":" 0x0 ",????????" Gas ":" 21000 ",????????" Gasprice ":" 50000000000 ",????????" Autogas ": True,????????" Threshold ": 500000000,????????" Bgsave ": false????},????" Newrelicenabled ": false,????" Newrelicname ":" Myetherproxy ",????" Newrelickey ":" Secret_key ",????" Newrelicverbose ": false}
Blockchain tutorial Open-ethereum-pool mining pool Source Code Analysis main portal