Author

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

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Well I've never really investigated the work model in p2pool and perhaps it's building on the work in its own chain somehow and not dependent on bitcoind? I see lots of blocktemplate calls to bitcoind the rest of the time though.
sr. member
Activity: 266
Merit: 250

It's been a while since I've played with p2pool though and something is really bugging me that I spot in the logs. I was wondering if anyone could answer me since my python knowledge is almost non-existent. On block changes, I'm NOT seeing p2pool immediately ask for a new block template when looking at my bitcoind logs which I have extra debugging on. Take for example this last block:

The block came in here:
Code:
2015-12-12 21:11:05.242988 UpdateTip: new best

And p2pool asked for the first newblock template here:
Code:
2015-12-12 21:11:23.387677 CreateNewBlock

Note the timestamps. There are 18 seconds between the block change and the first block template request. Now on my pool software I get a new template within milliseconds of the block update.

So here's the question. Is p2pool by design not updating immediately on block changes and hashing on stale work? Am I missing something?

Above my paygrade I'm afraid - maybe forrestv can chime in here?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Edit:  Ouch - that DOA rate........
Almost 3 am, but...

What's normal/good?

Mine sits at about 3% - but it's a local private node.

Yeah, don't know what to make of it. The overnight run saw 9 shares come in total without any orphans or dead but of course you need about 100 shares to get a fair idea of the real efficiency. I can understand if you move your miner away and appreciate the testing you did initially to confirm it works though, thanks.

It's been a while since I've played with p2pool though and something is really bugging me that I spot in the logs. I was wondering if anyone could answer me since my python knowledge is almost non-existent. On block changes, I'm NOT seeing p2pool immediately ask for a new block template when looking at my bitcoind logs which I have extra debugging on. Take for example this last block:

The block came in here:
Code:
2015-12-12 21:11:05.242988 UpdateTip: new best

And p2pool asked for the first newblock template here:
Code:
2015-12-12 21:11:23.387677 CreateNewBlock

Note the timestamps. There are 18 seconds between the block change and the first block template request. Now on my pool software I get a new template within milliseconds of the block update.

So here's the question. Is p2pool by design not updating immediately on block changes and hashing on stale work? Am I missing something?
legendary
Activity: 1512
Merit: 1012
sr. member
Activity: 266
Merit: 250
Edit:  Ouch - that DOA rate........
Almost 3 am, but...

What's normal/good?

Mine sits at about 3% - but it's a local private node.
legendary
Activity: 1258
Merit: 1027
Edit:  Ouch - that DOA rate........
Almost 3 am, but...

What's normal/good?

Ideally you want to be equal to or better than the global pool DOA...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Edit:  Ouch - that DOA rate........
Almost 3 am, but...

What's normal/good?
sr. member
Activity: 266
Merit: 250
Let's see what breaks next Tongue

That'll be me..... Tongue

I can see the addresses on the web UI now - good stuff -ck  Smiley

Edit:  Ouch - that DOA rate........
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
No worries, I see my miner is still reporting the node as live so I'll just leave it as is.
Ok they're back up and I can see the extra miners listed now. Let's see what breaks next Tongue
legendary
Activity: 1258
Merit: 1027
Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley

Incredibly the DE node has already found a share.

Yeah, I saw that  Smiley

I'm not seeing my payout address in the graphs for some reason:

17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2

you cannot see it because it is working with default address which is sense of the thing
future payouts is another thing and he ck has there different solution then p2pool originaly has or?
Does the p2pool intrinsic web page usually show miners logged into a public node as separate addresses? I currently have 2 active miners in the proxy logs:

Code:
[2015-12-12 06:38:53.071] User 1PXJiWRQt3gNBAe4j6dbugEqhufJdgncCc:{"hashrate1m": "1.48T", "hashrate5m": "1.36T", "hashrate1hr": "658G", "hashrate1d": "36.5G", "hashrate7d": "5.27G", "lastupdate": 1449920333, "workers": 1, "shares": 741666, "bestshare": 2691098.6662059599}
[2015-12-12 06:38:53.071] User 17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2:{"hashrate1m": "381G", "hashrate5m": "380G", "hashrate1hr": "134G", "hashrate1d": "7.03G", "hashrate7d": "1.01G", "lastupdate": 1449920333, "workers": 1, "shares": 142968, "bestshare": 475613.94521986018}

If all is going correctly, 1PXJiWRQt3gNBAe4j6dbugEqhufJdgncCc got the share and as far as I can tell it was credited to him, and only 1% credited to my 1GYU9ouTVY6ECTqidLe96mWn485dP6WZaJ address.

Very cool CK! If I remember correctly how the node fee works it is not 1% of each share but 1% of shares... So if a miner finds 100 shares on your node ~99 go to him and ~1 go to you...
sr. member
Activity: 266
Merit: 250
No worries, I see my miner is still reporting the node as live so I'll just leave it as is.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Yes, on the standard p2pool web GUI every address can be seen.

PS:  BLOCK!!  Smiley


That's odd, as I'm passing through the mining addresses as can be seen by how little is being credited to me.

P.S. 2nd share too.

EDIT: You're right, something's amuck. Your miners are supposed to be forced to reconnect by the proxy but they're not. I'm looking into it right now.

I may restart the node a few times while I implement code changes, bear with me (and always have a failover as you already know).

Taking them down for a bit, they're not doing what they're supposed to. Redirecting the port directly to the p2pool node for the time being.
full member
Activity: 238
Merit: 100
Yes, on the standard p2pool web GUI every address can be seen.

PS:  BLOCK!!  Smiley


That's odd, as I'm passing through the mining addresses as can be seen by how little is being credited to me.

P.S. 2nd share too.

EDIT: You're right, something's amuck. Your miners are supposed to be forced to reconnect by the proxy but they're not. I'm looking into it right now.

I may restart the node a few times while I implement code changes, bear with me (and always have a failover as you already know).

no problem, I understand we are in testing mode. let as know
sr. member
Activity: 266
Merit: 250
Yes, on the standard p2pool web GUI every mining address on that node can be seen.

PS:  BLOCK!!  Smiley

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley

Incredibly the DE node has already found a share.

Yeah, I saw that  Smiley

I'm not seeing my payout address in the graphs for some reason:

17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2

you cannot see it because it is working with default address which is sense of the thing
future payouts is another thing and he ck has there different solution then p2pool originaly has or?
Does the p2pool intrinsic web page usually show miners logged into a public node as separate addresses? I currently have 2 active miners in the proxy logs:

Code:
[2015-12-12 06:38:53.071] User 1PXJiWRQt3gNBAe4j6dbugEqhufJdgncCc:{"hashrate1m": "1.48T", "hashrate5m": "1.36T", "hashrate1hr": "658G", "hashrate1d": "36.5G", "hashrate7d": "5.27G", "lastupdate": 1449920333, "workers": 1, "shares": 741666, "bestshare": 2691098.6662059599}
[2015-12-12 06:38:53.071] User 17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2:{"hashrate1m": "381G", "hashrate5m": "380G", "hashrate1hr": "134G", "hashrate1d": "7.03G", "hashrate7d": "1.01G", "lastupdate": 1449920333, "workers": 1, "shares": 142968, "bestshare": 475613.94521986018}

If all is going correctly, 1PXJiWRQt3gNBAe4j6dbugEqhufJdgncCc got the share and as far as I can tell it was credited to him, and only 1% credited to my 1GYU9ouTVY6ECTqidLe96mWn485dP6WZaJ address.
sr. member
Activity: 266
Merit: 250
Oh yeah. Oops  Tongue
full member
Activity: 238
Merit: 100
Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley

Incredibly the DE node has already found a share.

Yeah, I saw that  Smiley

I'm not seeing my payout address in the graphs for some reason:

17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2

you cannot see it because it is working with default address which is sense of the thing
future payouts is another thing and he ck has there different solution then p2pool originaly has or?
sr. member
Activity: 266
Merit: 250
Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley

Incredibly the DE node has already found a share.

Yeah, I saw that  Smiley

I'm not seeing my payout address in the graphs for some reason:

17RAoAa2ZJy5vh2YNwx2NMHijrRmAajGr2
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley

Incredibly the DE node has already found a share.
sr. member
Activity: 266
Merit: 250
Great - just swapped over to the de node  Smiley

ping to the US was 302ms, while to the de node it's only 54ms - much better!  Smiley

Let me know if you need anything else -ck.
Nope, all good. Just make sure you still have a backup/failover set up as this code is all new and almost certainly there will be issues.

I have ten times better latencies to de.ckpool.org than to node.ckpool.org, I have switched SP20 to de.ckpool.org... or?

Same thing. Seems to be okay now, just make sure you have a failover pool set up.

Always  Wink

Many thanks again -ck. With all the nastyness going on atm, it's great that a dev such as yourself is willing to step in & help out us p2poolers  Smiley
Jump to: