SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.03k stars 124 forks source link

Not seeing mining results after switching to v3.2 #250

Closed MrFoxPro closed 1 year ago

MrFoxPro commented 1 year ago

I've recently updated to 3.2 and noticed I can't see myself on observer, also there are no payouts. https://mini.p2pool.observer/miner/493DVHX84EWCbKM7dgSfwhK85GyFxkY1QXTtYpQxUxWw82zSdyzgAQhCwUvgtJWTa9UbNitjwgpZbY28e5wfYCFSJHSaPbY?refresh

monerod log: https://pastebin.com/0Ksb6zSG p2pool log: https://pastebin.com/h36eycq5 xmrig log: https://pastebin.com/EWZvXNAC

xmrig config:

{
    "cpu": {
        "huge-pages": true,
        "priority": 4,
        "yield": false
    },
    "donate-level": 0,
    "health-print-time": 120,
    "pools": [
        {
            "enabled": true,
            "keepalive": true,
            "tls": false,
            "url": "127.0.0.1:3333",
            "user": "huanazhi"
        }
    ],
    "print-time": 120,
    "randomx": {
        "1gb-pages": true
    }
}  

Xmrig:

[root@huananzhi:~]# /nix/store/ykppls47ymhx09710zmjih4l8wwmz32r-xmrig-6.19.1/bin/xmrig --version                                                                                                                    
XMRig 6.19.1                                                                                                                                                                                                        
 built on Jan  1 1980 with GCC 12.2.0                                                                                                                                                                               
 features: 64-bit AES                                                                                                                                                                                               

libuv/1.44.2                                                                                                                                                                                                        
OpenSSL/3.0.8                                                                                                                                                                                                       
hwloc/2.9.0          

Running NixOS 23.05 unstable Linux huananzhi 6.2.8 #1-NixOS SMP PREEMPT_DYNAMIC Wed Mar 22 12:38:11 UTC 2023 x86_64 GNU/Linux

SChernykh commented 1 year ago

Logs look fine, you're synchronized and mining. Also, I synced a p2pool instance with your wallet address and I can see a share in PPLNS window right now:

Monero node               = ***
Main chain height         = 2855579
Main chain hashrate       = 2.494 GH/s
Side chain ID             = mini
Side chain height         = 4248082
Side chain hashrate       = 13.096 MH/s
Your hashrate (pool-side) = 5.896 KH/s
PPLNS window              = 2160 blocks (+52 uncles, 0 orphans)
PPLNS window duration     = 6h 15m 3s
Your wallet address       = 493DVHX84EWCbKM7dgSfwhK85GyFxkY1QXTtYpQxUxWw82zSdyzgAQhCwUvgtJWTa9UbNitjwgpZbY28e5wfYCFSJHSaPbY
Your shares               = 1 blocks (+0 uncles, 0 orphans)
Your shares position      = [....1.........................]
Block reward share        = 0.045% (0.000275186948 XMR)
SChernykh commented 1 year ago

With your hashrate (4.7 kh/s), you need 7-8 hours on average to find a share on p2pool-mini. It can be more than 24 hours if you're unlucky.

MrFoxPro commented 1 year ago

Okay thank you! Looks like it's observer problem.

MrFoxPro commented 1 year ago

Hm. Again no shares or signs of activity after 24h. Maybe I'm under attack or something. image image

SChernykh commented 1 year ago

You have 4.7 kh/s, and p2pool-mini increased hashrate to 24 MH/s, so it will take you 14-15 hours (on average) to find a share now. Everything on your screen looks fine, and you're only at 35% effort.