Bitcoin Forum
June 24, 2024, 06:22:00 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] Setup your own Ethereum mining pool. on: July 12, 2017, 11:43:50 PM
Man im trying to follow your guide, after i have installed geth using
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
After that i just use putty to connect to my vps
I run it with this command
geth  --fast --cache=512 console --rpcaddr 127.0.0.1 --rpcport 8983 --rpc --unlock COINBASEADDRESS
 the node start just fine

Then i try to run the pool module (ALL IN ONE AT FIRST) and this is a log of what I get

root@EPS:~/open-ethereum-pool# ./build/bin/open-ethereum-pool config.json


2017/06/15 05:37:58 Loading config: /root/open-ethereum-pool/config.json
2017/06/15 05:37:58 Running with 1 threads
2017/06/15 05:37:58 Backend check reply: PONG
2017/06/15 05:37:58 Starting payouts
2017/06/15 05:37:58 Set payouts interval to 2h0m0s
2017/06/15 05:37:58 No payees that have reached payout threshold
2017/06/15 05:37:58 Policy state refresh complete
2017/06/15 05:37:58 Set policy stats reset every 1h0m0s
2017/06/15 05:37:58 Set policy state refresh every 1m0s
2017/06/15 05:37:58 Running with 8 policy workers
2017/06/15 05:37:58 Upstream: main => 127.0.0.1:8545
2017/06/15 05:37:58 Upstream: backup => http://127.0.0.2:8545
2017/06/15 05:37:58 Default upstream: main => 127.0.0.1:8545
2017/06/15 05:37:58 Error while refreshing pending block on main: Post 127.0.0.1:8545: unsupported protocol scheme ""
2017/06/15 05:37:58 Error while refreshing pending block on main: Post 127.0.0.1:8545: unsupported protocol scheme ""
2017/06/15 05:37:58 Set block refresh every 120ms
2017/06/15 05:37:58 Starting proxy on 127.0.0.1:8888
2017/06/15 05:37:58 Starting API on 127.0.0.1:8080
2017/06/15 05:37:58 Set stats collect interval to 5s
2017/06/15 05:37:58 Set purge interval to 10m0s
2017/06/15 05:37:58 Purged stale stats from backend, 0 shares affected, elapsed time 550.191µs
2017/06/15 05:37:58 Stratum listening on 127.0.0.1:8008
2017/06/15 05:37:58 Stats collection finished 3.454594ms
2017/06/15 05:37:58 Error while refreshing pending block on main: Post 127.0.0.1:8545: unsupported protocol scheme ""
2017/06/15 05:37:58 Error while refreshing pending block on main: Post 127.0.0.1:8545: unsupported protocol scheme ""


If you wanna see my config file this is it
{
        "threads": 1,
        "coin": "eth",
        "name": "main",

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

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

                "stratum": {
                        "enabled": true,
                        "listen": "127.0.0.1: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,
 "listen": "127.0.0.1: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": "127.0.0.1:8080",
                "statsCollectInterval": "5s",
                "hashrateWindow": "30m",
                "hashrateLargeWindow": "3h",
                "luckWindow": [64, 128, 256],
                "payments": 30,
                "blocks": 50
        },

        "upstreamCheckInterval": "5s",
"upstream": [
                {
                        "name": "main",
                        "url": "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": 10,
                "database": 0,
                "password": ""
        },

        "unlocker": {
  {
                        "name": "main",
                        "url": "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": 10,
                "database": 0,
                "password": ""
        },

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

        "payouts": {
                "enabled": true,
                "requirePeers": 25,
                "interval": "120m",
                "daemon": "127.0.0.1:8545",
                "timeout": "10s",
                "address": "0x0",
                "gas": "21000",
                "gasPrice": "50000000000",
"autoGas": true,
                "threshold": 100000000,
                "bgsave": false
        },

        "newrelicEnabled": false,
        "newrelicName": "MyEtherProxy",
        "newrelicKey": "SECRET_KEY",
        "newrelicVerbose": false
}







did you fix it?
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] ArabianChain - DubaiCoin (DBIX) - Smart Contracts from Dubai to the World on: July 06, 2017, 07:42:13 AM
Why on dbix.pool.sexy on the rewards tab i have less block then other miners with less hash power?
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] ArabianChain - DubaiCoin (DBIX) - Smart Contracts from Dubai to the World on: July 05, 2017, 07:45:28 PM
How can I set my windows wallet for dbix? it keeps throwing me an error. I've tried to set the file path manually but not even that works!!

What error? Upload an image.

I really don't know what to do...


4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] ArabianChain - DubaiCoin (DBIX) - Smart Contracts from Dubai to the World on: July 05, 2017, 07:29:20 PM
How can I set my windows wallet for dbix? it keeps throwing me an error. I've tried to set the file path manually but not even that works!!

Did you try 'Run as administrator' option?

I have the same problem! Cry
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!