Giter Club home page Giter Club logo

Comments (18)

9600- avatar 9600- commented on July 30, 2024

I have the same symptom, only I've created it on purpose by disabling the unlocker and payout modules in the config. Redis data is not written to the DB this way and you'll end up with only what's stored in NGINX.

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

I have enabled unlocker and reward module. But what with this block? is orphaned? :(

from open-ethereum-pool.

9600- avatar 9600- commented on July 30, 2024

Oh I'm sorry, I didn't look at your post in its entirety. We're not supposed to have orphans in Ethereum, only Uncles. Are you sure you've pasted the proper block height? What is the etherbase address of the pool daemon?

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

Pool adress:
https://etherscan.io/address/0x308b9bffb317c76f15037b4e70253f5938ca0ef9

This block height showing on frontend of pool in New Block tab.:
https://etherscan.io/block/1617995

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

Maybe i do something wrong at start pool?
In config.json - payout and unlocker module are enabled.
I start geth, after i start pool, after i start frontend.

Maybe i need start some modules manual? like unlocker and payouts?

My config.json:

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

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

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

            "stratum": {
                    "enabled": true,
                    "listen": "IP: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": "0.0.0.0:8080",
            "statsCollectInterval": "5s",
            "hashrateWindow": "30m",
            "hashrateLargeWindow": "3h",
            "payments": 30,
            "blocks": 50
    },

    "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": 10,
            "database": 0,
            "password": ""
    },

    "unlocker": {
            "enabled": true,
            "poolFee": 0.5,
            "poolFeeAddress": "0x308b9bffb317c76f15037b4e70253f5938ca0ef9",
            "donate": true,
            "depth": 120,
            "immatureDepth": 20,
            "interval": "10m",
            "daemon": "http://127.0.0.1:8545",
            "timeout": "10s"
    },

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

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

}
`

from open-ethereum-pool.

9600- avatar 9600- commented on July 30, 2024

Nope you're good! You just mined an Uncle block!

Check out the "mined uncles" tab in from your etherscan.io link.

Block Age UncleNumber Difficulty GasUsed Reward
1617997 5 hrs 54 mins ago 1617995 43.66 TH 248559 3.75 Ether

from open-ethereum-pool.

9600- avatar 9600- commented on July 30, 2024

Sammy has suggested running payout and unlocker scripts as separate processes and I would suggest you do the same. Are you running redis in a screen? Can you check to make sure you're writing to the redis DB? If unlocker, payout and Redis are running, you should't have any share logging issues.

from open-ethereum-pool.

9600- avatar 9600- commented on July 30, 2024

I start geth, after i start pool, after i start frontend.

Are you running Redis?

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

amm... no. I dont run any redis manually, redis start auto (maybe).
Can u help me check this?


Check redis:
$ redis-cli
127.0.0.1:6379>

So is running i think.

from open-ethereum-pool.

9600- avatar 9600- commented on July 30, 2024

Can you run the following command and paste the output?

netstat -atn | grep 6379

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

$ netstat -atn | grep 6379
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:33147 127.0.0.1:6379 ESTABLISHED
tcp 0 0 127.0.0.1:33144 127.0.0.1:6379 ESTABLISHED
tcp 0 0 127.0.0.1:6379 127.0.0.1:33145 ESTABLISHED
tcp 0 0 127.0.0.1:6379 127.0.0.1:33144 ESTABLISHED
tcp 0 0 127.0.0.1:6379 127.0.0.1:33147 ESTABLISHED
tcp 0 0 127.0.0.1:33145 127.0.0.1:6379 ESTABLISHED
alice@eth:~/open-ethereum-pool$

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

Maybe go to gitter? if u can
https://gitter.im/sammy007/open-ethereum-pool

from open-ethereum-pool.

sammy007 avatar sammy007 commented on July 30, 2024

I start geth, after i start pool, after i start frontend.

If you run geth after launching pool unlocker is likely suspended.

Also unlocker requires some blocks to determine if mined block was uncle or not. if you unlocker is disabled new blocks will stay as new. After a few blocks mined back new block will became immature and so on.

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

No i first start geth. after pool, and after frontend.
I created file payout.conf, disabled all but not payout and unlock modules and start this - statistic and rewards calculated after this normally, and send money to miners. But why is not working all-in-one config?

from open-ethereum-pool.

sammy007 avatar sammy007 commented on July 30, 2024

But why is not working all-in-one config?

It works. It's not recommended, usually you need to restart payouts and unlocker sometimes and no need to touch mining endpoint during these restarts.

from open-ethereum-pool.

gddrx avatar gddrx commented on July 30, 2024

I dont restart pool core (with dead payout and unlocker), it's no trouble?)))
i start this modules dedicated, and now (maybe in testing) all's fine.

from open-ethereum-pool.

sammy007 avatar sammy007 commented on July 30, 2024

Make sure you are not running 2 instances of unlocker and payout module simultaneously.

from open-ethereum-pool.

sammy007 avatar sammy007 commented on July 30, 2024

And also don't forget to close issues if problem is solved.

from open-ethereum-pool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.