Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 568. (Read 2591920 times)

zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com

Hi All,

   Im trying to set p2pool server but it seems that it is not working at all....  Shares and Payout always set to 0.
   Am i missing something ? Ideas?

p2pool log:

013-04-14 08:40:17.904862 > ########################################
2013-04-14 08:40:17.905458 > >>> Warning: (from bitcoind) Warning: this version is obsolete, upgrade required
2013-04-14 08:40:17.905888 > ########################################
2013-04-14 08:40:17.906335 P2Pool: 17333 shares in chain (8687 verified/17334 total) Peers: 6 (0 incoming)
2013-04-14 08:40:17.906670  Local: 103kH/s in last 4.6 minutes Local dead on arrival: ~2.7% (1-5%) Expected time to share: 8.4 hours
2013-04-14 08:40:17.908512  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: 0.0000 LTC
2013-04-14 08:40:17.908934  Pool: 389MH/s Stale rate: 21.7% Expected time to block: 54.0 minutes


i tried setting it up with litecoin just for kicks and get the same thing myself.

04/17/13 00:50:31 received block cf325cc26a3570e6338c
04/17/13 00:50:31 SetBestChain: new best=cf325cc26a3570e6338c  height=335883  work=26545242345195032  date=04/17/13 00:50:23
04/17/13 00:50:31 SetBestChain: 46 of last 100 blocks above version 1
04/17/13 00:50:31 ProcessBlock: ACCEPTED

this is what causes it in the litecoin src

    // Check the version of the last 100 blocks to see if we need to upgrade:
    if (!fIsInitialDownload)
    {
        int nUpgraded = 0;
        const CBlockIndex* pindex = pindexBest;
        for (int i = 0; i < 100 && pindex != NULL; i++)
        {
            if (pindex->nVersion > CBlock::CURRENT_VERSION)
                ++nUpgraded;
            pindex = pindex->pprev;
        }
        if (nUpgraded > 0)
            printf("SetBestChain: %d of last 100 blocks above version %d\n", nUpgraded, CBlock::CURRENT_VERSION);
        if (nUpgraded > 100/2)
            // strMiscWarning is read by GetWarnings(), called by Qt and the JSON-RPC code to warn the user:
            strMiscWarning = _("Warning: this version is obsolete, upgrade required");
    }


so, it's shooting that off since nUpgraded > 50

i'm running the latest version of litecoind

i edited that part out of src
legendary
Activity: 916
Merit: 1003
I noticed this odd behavior using p2pool/LTC too.  cgminer is happily hashing away but I'm no longer being paid.

I've stopped mining entirely anyway while waiting for my ASIC.
legendary
Activity: 1106
Merit: 1014
How come that I sometimes receive my share from a new block (mining LTC with local p2pool 11.3) in my wallet, but that block is not listed in the pool's statistics? Just today, the latest blocks were found at (UTC time) 16:02, 16:59, 18:04, 21:33, and then there's 22:50, but in my wallet there's also ~ 1 LTC mined from 22:04 (Transaction ID: b8921528d4ae00f32f05890af58b981b88f373d4ac7c17275fd22b29c20423e0). The same thing happened a couple of days ago. Sometimes I get a feeling that there's something wrong, like it takes p2pool too long to find a block.. just a couple of days ago there was a ~6 hours period without a block found, I was running p2pool 11.2 and that made me search for updates, found 11.3 and started using it, all was fine but then again this "missing" block from 22:04...

Is there a place I can see the history of LTC blocks found other than my local 127.0.0.1:9327/static/? There's p2pool.info, but it only shows BTC blocks found...
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Really rocking it today. Woot!

timenumber   hash/explorer link   
Mon Apr 15 2013 14:58:30 GMT-0500 (Central Daylight Time)231515   00000000000001c54072f301f89bd4f9800a17e7c1e4f7b98d98e610f80b11cd   
Mon Apr 15 2013 11:32:06 GMT-0500 (Central Daylight Time)231483   000000000000007398b4d505f2da8de17ad3c7485a50321b91fd01f8b031bba9   
Mon Apr 15 2013 02:26:29 GMT-0500 (Central Daylight Time)231433   000000000000004638d24e4a1d1e1b2fb497017eb79353e90142a032323cb48c   
Mon Apr 15 2013 01:51:39 GMT-0500 (Central Daylight Time)231428   00000000000001a116e700eabd93e670223548819b79a10975590b03d0b3b569   
hero member
Activity: 896
Merit: 1000
WISHLIST:

Right now, when bitcoind dies, p2pool continue working and is still sending work to connected miners. All miners connected to node with dead bitcoind, will generate 100% DOA shares.

My suggestion is to make a change:
When p2pool detects that bitcoind is dead, it should not only write a warnings on webUI and in the log, it should disconnect all connected miners immediately, with 403 Forbidden or something, so they can connect to other, backup pool.

Can anyone look into this,please?  Smiley

In fact in an ideal world any communication problem detected in p2pool (be it with bitcoind, with other nodes are even reported to P2Pool by bitcoind) should trigger this kind of behavior so that miners have the opportunity to look for a backup pool which might not be affected by the same problems.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
WISHLIST:

Right now, when bitcoind dies, p2pool continue working and is still sending work to connected miners. All miners connected to node with dead bitcoind, will generate 100% DOA shares.

My suggestion is to make a change:
When p2pool detects that bitcoind is dead, it should not only write a warnings on webUI and in the log, it should disconnect all connected miners immediately, with 403 Forbidden or something, so they can connect to other, backup pool.

Can anyone look into this,please?  Smiley
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Sweet little overnight bonus last night Cheesy
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Hi, I setup p2pool for my self to mine on, and I am using cgminer to mine on it. However when I start doing so, cgminer says it is finding shares but it does not show up on the p2pool screen. And when I connect to 127.0.0.1:9332 on my browser, it also says I have no shares, and my payout will be 0 BTC. Can someone help me?

in the log file or on your website you can look at the last share & see what the difficulty level is at the moment (approximately anyway, the logfile would tell you exactly w/ the new work)

right now it's 793.5697319853241

newbie
Activity: 13
Merit: 0
Hi, I setup p2pool for my self to mine on, and I am using cgminer to mine on it. However when I start doing so, cgminer says it is finding shares but it does not show up on the p2pool screen. And when I connect to 127.0.0.1:9332 on my browser, it also says I have no shares, and my payout will be 0 BTC. Can someone help me?

You have to wait and be patient.  Connect to your p2pool instance using your web browser and look at the data.  If the local hash rate > 0 then you're good to go.  p2pool shares are solved at a much lower rate than your cgminer shares.  Depending on your hash rate it could take hours.

ok, thanks.
legendary
Activity: 916
Merit: 1003
Hi, I setup p2pool for my self to mine on, and I am using cgminer to mine on it. However when I start doing so, cgminer says it is finding shares but it does not show up on the p2pool screen. And when I connect to 127.0.0.1:9332 on my browser, it also says I have no shares, and my payout will be 0 BTC. Can someone help me?

You have to wait and be patient.  Connect to your p2pool instance using your web browser and look at the data.  If the local hash rate > 0 then you're good to go.  p2pool shares are solved at a much lower rate than your cgminer shares.  Depending on your hash rate it could take hours.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
WISHLIST:

Right now, when bitcoind dies, p2pool continue working and is still sending work to connected miners. All miners connected to node with dead bitcoind, will generate 100% DOA shares.

My suggestion is to make a change:
When p2pool detects that bitcoind is dead, it should not only write a warnings on webUI and in the log, it should disconnect all connected miners immediately, with 403 Forbidden or something, so they can connect to other, backup pool.
newbie
Activity: 13
Merit: 0
Hi, I setup p2pool for my self to mine on, and I am using cgminer to mine on it. However when I start doing so, cgminer says it is finding shares but it does not show up on the p2pool screen. And when I connect to 127.0.0.1:9332 on my browser, it also says I have no shares, and my payout will be 0 BTC. Can someone help me?
legendary
Activity: 916
Merit: 1003
2013-04-14 08:40:17.905458 > >>> Warning: (from bitcoind) Warning: this version is obsolete, upgrade required

Here's your problem.

M

Even if i am using it to LTC ?


Well then what version of Litecoin client are you using?  Is it possible you're somehow connecting to the Bitcoin client instead?
full member
Activity: 121
Merit: 100
New Order
2013-04-14 08:40:17.905458 > >>> Warning: (from bitcoind) Warning: this version is obsolete, upgrade required

Here's your problem.

M

Even if i am using it to LTC ?
legendary
Activity: 1540
Merit: 1001
2013-04-14 08:40:17.905458 > >>> Warning: (from bitcoind) Warning: this version is obsolete, upgrade required

Here's your problem.

M
full member
Activity: 121
Merit: 100
New Order

Hi All,

   Im trying to set p2pool server but it seems that it is not working at all....  Shares and Payout always set to 0.
   Am i missing something ? Ideas?

p2pool log:

013-04-14 08:40:17.904862 > ########################################
2013-04-14 08:40:17.905458 > >>> Warning: (from bitcoind) Warning: this version is obsolete, upgrade required
2013-04-14 08:40:17.905888 > ########################################
2013-04-14 08:40:17.906335 P2Pool: 17333 shares in chain (8687 verified/17334 total) Peers: 6 (0 incoming)
2013-04-14 08:40:17.906670  Local: 103kH/s in last 4.6 minutes Local dead on arrival: ~2.7% (1-5%) Expected time to share: 8.4 hours
2013-04-14 08:40:17.908512  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: 0.0000 LTC
2013-04-14 08:40:17.908934  Pool: 389MH/s Stale rate: 21.7% Expected time to block: 54.0 minutes

cgminer 1 :

cgminer version 2.11.4 - Started: [2013-04-14 08:37:54]
--------------------------------------------------------------------------------
 (5s):775.3K (avg):775.8Kh/s | A:65  R:2  HW:0  U:15.1/m  WU:30.7/m
 ST: 2  SS: 0  NB: 1  LW: 164  GF: 0  RF: 0
 Connected to 192.168.0.221 diff 3 with stratum as user 1
 Block: 122cad68baf38a83...  Diff:19.2M  Started: [08:37:53]  Best share: 543
--------------------------------------------------------------------------------
 [P]ool management [G]PU management ettings [D]isplay options [Q]uit
 GPU 0:                | 387.9K/390.4Kh/s | A:32 R:0 HW:593 U:  7.43/m I:15
 GPU 1:                | 386.9K/390.0Kh/s | A:33 R:2 HW:565 U:  7.66/m I:15
--------------------------------------------------------------------------------


member
Activity: 68
Merit: 10
Al Berg
The share that found the block was orphaned, not the block itself.

Aha. I see.
full member
Activity: 147
Merit: 100
Do you like fire? I'm full of it.
This one looks likely:

Quote
-w PORT or ADDR:PORT, --worker-port PORT or ADDR:PORT
                        listen on PORT on interface with ADDR for RPC
                        connections from miners (default: all interfaces,
                        bitcoin:9332, litecoin:9327, terracoin:9322)

Use localhost:9332 but make sure not to lock your miner out. If you are on Windows, you can use Windows Firewall to restrict things somewhat and on Linux, you can use iptables to do all sorts of magic.
This only changes the port and locks the UI to a specific adapter. For example, I'd like to bind it to my Hamachi IP so I can access the page through my laptop when I'm away. But I can't stop everyone else on the network from peeking.
That worked. Now the UI is only accessible from the PC running it. It's a partial solution. Thanks.

Another problem popped up when I did this. I killed p2pool with the miner still running and restarted it with the new command line. As p2pool came back online, it reported that 90%+ of the hashes were DOA. I let thing run for a little so that bfgminer would have a chance to resync but the DOAs remained high. Does bfgminer eventually resync with p2pool after it's done whatever work it may have been doing or do I have to force reset bfgminer? I mean while this isn't difficult for me, it would be problematic on an automated setup that goes through all sorts of ups and downs over months of running.
lbr
sr. member
Activity: 423
Merit: 254
How to change WebInterface(stats) listening port but leave workers port the same?
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Hmmm...

13qnEgPTxJW6mm88dLpnHXZyryN5EXBciq (Richy_T ) 0.03825833 BTC

Received 0.01253471 In wallet. What's up with that?
Jump to: