sammy007 / open-ethereum-pool

Open Ethereum Mining Pool
GNU General Public License v3.0
1.4k stars 1.12k forks source link

The miner not show on mining pool #356

Open voratham opened 6 years ago

voratham commented 6 years ago

I tried configuration open-ethereum-pool on my private network ethereum . By them working not has the problem with configuration. But When i using ethminer

ethminer -F http://192.168.120.33:8888/MY_ADDRESS_GENERATE_FROM_GETH_ATTACH/myfarm -C --farm-recheck 200`

I start mining and connected with mining pool right but i check from blockNumber not increase on geth attach http://192.168.120.33:8545

screen shot 2561-07-03 at 10 31 42

But I change port block number will increase and show on web application but however I not see miners on web app mining pool or cpu mining not working ?

ethminer -F http://192.168.120.33:8545/MY_ADDRESS_GENERATE_FROM_GETH_ATTACH/myfarm -C --farm-recheck 200

I have a config.json

{
       "threads": 2,
    "coin": "eth",
    "name": "main",

    "proxy": {
        "enabled": true,
        "listen": "192.168.120.33:8888",
        "limitHeadersSize": 1024,
        "limitBodySize": 256,
        "behindReverseProxy": false,
        "blockRefreshInterval": "120ms",
        "stateUpdateInterval": "3s",
        "difficulty": 2000000000,
        "hashrateExpiration": "3h",

        "healthCheck": true,
        "maxFails": 100,

        "stratum": {
            "enabled": true,
            "listen": "192.168.120.33:8008",
            "timeout": "120s",
            "maxConn": 8192
        },

        "policy": {
            "workers": 8,
            "resetInterval": "60m",
            "refreshInterval": "1m",

            "banning": {
                "enabled": false,
                "ipset": "blacklist",
                "timeout": 1800,
                "invalidPercent": 30,
                "checkThreshold": 30,
                "malformedLimit": 5
            },
            "limits": {
                "enabled": false,
                "limit": 30,
                "grace": "5m",
                "limitJump": 10
            }
        }
    },

    "api": {
        "enabled": true,
        "purgeOnly": false,
        "purgeInterval": "10m",
        "listen": "192.168.120.33:8080",
        "statsCollectInterval": "5s",
        "hashrateWindow": "30m",
        "hashrateLargeWindow": "3h",
        "luckWindow": [64, 128, 256],
        "payments": 30,
        "blocks": 50
    },

    "upstreamCheckInterval": "5s",
    "upstream": [
        {
            "name": "main",
            "url": "http://192.168.120.33:8545",
            "timeout": "10s"
        },
        {
            "name": "backup",
            "url": "http://192.168.120.33:8545",
            "timeout": "10s"
        }
    ],

    "redis": {
        "endpoint": "127.0.0.1:6379",
        "poolSize": 10,
        "database": 0,
        "password": ""
    },

    "unlocker": {
        "enabled": true,
        "poolFee": 1.0,
        "poolFeeAddress": "",
        "donate": true,
        "depth": 120,
        "immatureDepth": 20,
        "keepTxFees": false,
        "interval": "10m",
        "daemon": "http://192.168.120.33:8545",
        "timeout": "10s"
    },

    "payouts": {
        "enabled": true,
        "requirePeers": 25,
        "interval": "120m",
        "daemon": "http://192.168.120.33:8545",
        "timeout": "10s",
        "address": "0x958e1eec9378b4b51ffe06060a201cbfdbe769cc",
        "gas": "21000",
        "gasPrice": "50000000000",
        "autoGas": true,
        "threshold": 500000000,
        "bgsave": false
    },

    "newrelicEnabled": false,
    "newrelicName": "MyEtherProxy",
    "newrelicKey": "SECRET_KEY",
    "newrelicVerbose": false 
}
cs18m017 commented 5 years ago

We are facing same Issue. Could you connect the pool to private chain?