SChernykh / p2pool

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

Clarification of logs #265

Closed Tsuser1 closed 1 year ago

Tsuser1 commented 1 year ago

Hello, I'm extremely new to mining, and I saw this in my logs and am just curious as to what happened to have this series of events occur:

NOTICE  2023-05-11 00:32:58.8664 SideChain add_external_block: block 17f6019ab12eb80e207b9900369d6d9cb2728dc61f85fefc768f6c83528894d8 has enough PoW for Monero network, submitting it
NOTICE  2023-05-11 00:32:58.8721 P2Pool submit_block: height = 2883163, external blob (20443 bytes)
NOTICE  2023-05-11 00:33:01.0929 P2Pool BLOCK FOUND: main chain block at height 2883163 was mined by this p2pool
-----------------------------------------------------------------------------------------------
| ######   #        #######   #####   #    #      #######  #######  #     #  #     #  ######  |
| #     #  #        #     #  #     #  #   #       #        #     #  #     #  ##    #  #     # |
| #     #  #        #     #  #        #  #        #        #     #  #     #  # #   #  #     # |
| ######   #        #     #  #        ###         #####    #     #  #     #  #  #  #  #     # |
| #     #  #        #     #  #        #  #        #        #     #  #     #  #   # #  #     # |
| #     #  #        #     #  #     #  #   #       #        #     #  #     #  #    ##  #     # |
| ######   #######  #######   #####   #    #      #        #######   #####   #     #  ######  |
-----------------------------------------------------------------------------------------------
NOTICE  2023-05-11 00:33:01.0965 P2Pool Your wallet <snip> didn't get a payout in block 2883163 because you had no shares in PPLNS window
NOTICE  2023-05-11 00:33:01.1709 P2Pool submit_block: BLOCK ACCEPTED at height 2883163 and difficulty = 318094755771

It's been working otherwise normally, and successfully mining shares (very occasionally). Just looking for some clarification from someone more experienced. Was this some form of race condition?

Tsuser1 commented 1 year ago

I was able to get some help from the IRC channel with this. The message refers to the pool found a block, not this node in the pool.

SChernykh commented 1 year ago

https://github.com/SChernykh/p2pool/commit/be8b38e5cff0fe27d9e78d257b4893b3e8a85c08