Author

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

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
ckolivas, maybe I should ask this in the cgminer thread, but since it concerns P2Pool I'll ask here anyway.

I was running 2.1.2 before upgrading to the latest version. I was using -c 1 and --submit-stale with 2.1.2, and since upgrading I've removed --submit-stale as it seems it's no longer required in 2.2.3.

Do you recommend I continue to use -c 1 and are there any other switches that might be useful for P2Pool?
I'm assuming you mean -g 1. That's probably the only switch which -theoretically- might help. It has as much effect on speeding up returns as decreasing intensity by 1. The difference is decreasing intensity by 1 has a much bigger effect on your overall hashrate. Find the peak of your hashrate with intensity, but don't go higher (usually somewhere 7-9) and -g 1 is all I'd recommend.
hero member
Activity: 516
Merit: 643
Curious about the coinbase in p2pool blocks
Most I've seen have been 0000 (i.e. almost nothing)
They are easy to spot though coz they pay in the coinbase txn (and don't say Eligius in the coinbase itself Tongue)

But this one: 165558 (00000000000007d5f9d3a5bd7d9d184f31df65b6c185433504452bcb0d9c8bcb)

Was: coinbase (44) : fabe6d6d2184daf786691909635b7684622b478c3489abe4888195feca7274e3ae5953570100000 000000000
 (..mm!....i..c[v.b+G.4........rt..YSW........)

Which looks like MM - but there doesn't appear to be an NMC block at exactly 02:55:57 6-Feb-2012 UTC (0x4f2f413d)
So ... out of curiosity ... what is that in the coinbase?
It can't be MM coz there would be nowhere to actually pay it ... would there?

(and how would it get in there anyway)

That was a merged mining header and became Namecoin block http://explorer.dot-bit.org/b/2184daf786691909635b7684622b478c3489abe4888195feca7274e3ae595357 (notice how the block's hash in the url appears 4 bytes into the MM header.) The Bitcoin block header's timestamp doesn't have to match Namecoin's.

So I'm running two p2pool nodes.  One is on the same subnet as my miner and the other is running on my residential connection as a backup pool.

They are both setup with the same versions of everything and both on the lastest git head and both are merged mining with namecoind (I like the new simpler flags btw)

My main instance output this
Quote
2012-02-06 14:28:36.710654 New work for worker! Difficulty: 1.235214 Share difficulty: 357.877941 Total block value: 50.011230 BTC including 43 transactions

and at almost the same time, my backup output this
Quote
2012-02-06 14:28:35.523973 New work for worker! Difficulty: 0.999985 Share difficulty: 349.760460 Total block value: 50.010530 BTC including 29 transactions
2012-02-06 14:28:37.032823 New work for worker! Difficulty: 0.999985 Share difficulty: 357.877941 Total block value: 50.010530 BTC including 29 transactions

Any ideas why my backup pool has different numbers for everything?  And why did the backup pool output 2 different lines with "New work?"  The second line has the same share difficulty as my main instance, but the difficulty, block value and number of transactions aren't the same.  Both nodes to show the same number of shares in the chain and the same pool hash rate and stale rate.

Both bitcoind's relay are connected to eachother, so I thought the number of transactions should be very close to the same. 43 and 29 seems like a big difference.

The share difficulties match, which is expected. The reason that there's two is that there was a new P2Pool share produced in between them. The local difficulty is different because it automatically changes so that P2Pool isn't swamped with shares from your miners. Total block value and transactions depends on which transactions your bitcoind has heard of.
hero member
Activity: 742
Merit: 500
So I'm running two p2pool nodes.  One is on the same subnet as my miner and the other is running on my residential connection as a backup pool.

They are both setup with the same versions of everything and both on the lastest git head and both are merged mining with namecoind (I like the new simpler flags btw)

My main instance output this
Quote
2012-02-06 14:28:36.710654 New work for worker! Difficulty: 1.235214 Share difficulty: 357.877941 Total block value: 50.011230 BTC including 43 transactions

and at almost the same time, my backup output this
Quote
2012-02-06 14:28:35.523973 New work for worker! Difficulty: 0.999985 Share difficulty: 349.760460 Total block value: 50.010530 BTC including 29 transactions
2012-02-06 14:28:37.032823 New work for worker! Difficulty: 0.999985 Share difficulty: 357.877941 Total block value: 50.010530 BTC including 29 transactions

Any ideas why my backup pool has different numbers for everything?  And why did the backup pool output 2 different lines with "New work?"  The second line has the same share difficulty as my main instance, but the difficulty, block value and number of transactions aren't the same.  Both nodes to show the same number of shares in the chain and the same pool hash rate and stale rate.

Both bitcoind's relay are connected to eachother, so I thought the number of transactions should be very close to the same. 43 and 29 seems like a big difference.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Well, I'm mining here too now. Good work on the concept.

cgminer version 2.2.3 has some enhancements specifically targeted at working optimally with p2pool so if you're on cgminer, I recommend upgrading.

DiabloMiner had p2pool support first :<
Haha. Cgminer worked fine on p2pool before as well. It just works even better now. I was making no comparison with DM.
donator
Activity: 362
Merit: 250
I use both Diablo and cgminer.  Smiley
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
Well, I'm mining here too now. Good work on the concept.

cgminer version 2.2.3 has some enhancements specifically targeted at working optimally with p2pool so if you're on cgminer, I recommend upgrading.

DiabloMiner had p2pool support first :<
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Well, I'm mining here too now. Good work on the concept.

cgminer version 2.2.3 has some enhancements specifically targeted at working optimally with p2pool so if you're on cgminer, I recommend upgrading.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
Guys,

 Just for the record here:

 A Complete Guide to P2Pool
 https://bitcointalksearch.org/topic/a-complete-guide-to-p2pool-merged-mining-btcnmcdvcixci0c-plus-ltc-linux-62842

 Please, let me know if I write something wrong...

Best,
Thiago
newbie
Activity: 20
Merit: 0
Code:
first block at 2011-08-23 23:20:35, last block at 2012-02-06 02:55:57
total of 60 blocks in 166 Days 4 Hours 35 minutes 22 seconds
2.77 per day

Just facts. So that some whiners stop emoing about luck and the definition of "average".

Muahaha ... how did you even manage to unwrap your computer? How old are you? 6? Basic mathematics? Ever heard of it ...?
Can we please cut out the personal attacks from these forums.  This is the completely wrong community to troll and flame, all it can do is hurt our progress.
hero member
Activity: 1162
Merit: 500
Code:
first block at 2011-08-23 23:20:35, last block at 2012-02-06 02:55:57
total of 60 blocks in 166 Days 4 Hours 35 minutes 22 seconds
2.77 per day

Just facts. So that some whiners stop emoing about luck and the definition of "average".

Muahaha ... how did you even manage to unwrap your computer? How old are you? 6? Basic mathematics? Ever heard of it ...?




hero member
Activity: 616
Merit: 502
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Curious about the coinbase in p2pool blocks
Most I've seen have been 0000 (i.e. almost nothing)
They are easy to spot though coz they pay in the coinbase txn (and don't say Eligius in the coinbase itself Tongue)

But this one: 165558 (00000000000007d5f9d3a5bd7d9d184f31df65b6c185433504452bcb0d9c8bcb)

Was: coinbase (44) : fabe6d6d2184daf786691909635b7684622b478c3489abe4888195feca7274e3ae5953570100000 000000000
 (..mm!....i..c[v.b+G.4........rt..YSW........)

Which looks like MM - but there doesn't appear to be an NMC block at exactly 02:55:57 6-Feb-2012 UTC (0x4f2f413d)
So ... out of curiosity ... what is that in the coinbase?
It can't be MM coz there would be nowhere to actually pay it ... would there?

(and how would it get in there anyway)
hero member
Activity: 518
Merit: 500
P2Pool is the fourth largest pool! BOOM!
https://blockchain.info/pools

terahash, here we come!

Ente



Yeah. Probably has to do with adding it as the first listed sticky in this pools thread Wink
sr. member
Activity: 435
Merit: 250
Code:
first block at 2011-08-23 23:20:35, last block at 2012-02-06 02:55:57
total of 60 blocks in 166 Days 4 Hours 35 minutes 22 seconds
2.77 per day

Just facts. So that some whiners stop emoing about luck and the definition of "average".

I think you swapped some numbers there?  

60 blocks in 166 days is 0.3614457831325301 per day.

166 blocks in 60 days is 2.766666666666667 per day.

Heh, indeed! Never code anything before coffee, my grandma used to say. Smiley
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
P2Pool is the fourth largest pool! BOOM!
https://blockchain.info/pools

terahash, here we come!

Ente



Ahem

https://blockchain.info/pools?timespan=4days

Much more closer to the actual top ten I maintain.
legendary
Activity: 2126
Merit: 1001
P2Pool is the fourth largest pool! BOOM!
https://blockchain.info/pools

terahash, here we come!

Ente

legendary
Activity: 1379
Merit: 1003
nec sine labore

with latest cgminer (2.2.1) using dynamic intensity forces a single therad per GPU, so I've set it to dynamic right now, let's see what happens.


Hi Guys,

after a _long_ weekend I'm now able to mine for p2pool correctly Smiley

I've made several changes and I don't know which one was the good one (or ones), so I list them here:

  • installed ntpd, xubuntu does not install it by default, and my time was 4 seconds behind correct time, this did not give any problems with other pools, but maybe p2p is time-sensitive
  • started cgminer with -g 1, I was setting intensity to default from cgminer menu when started, but maybe it is not the same thing since this way just a single thread is created per GPU
  • started cgminer with --submit-stale as per forum message which states that current cgminer 2.2.1 needs it when running with p2pool
  • pointed my miner to my p2pool pc (which is at work, while miner at home) using office IP instead of symbolic-name because symbolic name has a very short TTL and maybe miner was spending time to resolve it

Anyway, right now I've been mining for more than a day, with just three DEAD ON ARRIVAL shares and 65 good ones Smiley

Regards.

spiccioli.
sr. member
Activity: 435
Merit: 250
Code:
first block at 2011-08-23 23:20:35, last block at 2012-02-06 02:55:57
total of 60 blocks in 166 Days 4 Hours 35 minutes 22 seconds
2.77 per day

Just facts. So that some whiners stop emoing about luck and the definition of "average".
sr. member
Activity: 445
Merit: 250
I just joined p2pool and so far it seems pretty tremendous. I have some questions.
Welcome!

1. Is it recommended to give an address with the -a flag and keep this address the same always? Does it make a difference?
If you specify an address, it's easier to keep an eye on your earnings. If you don't specify an address, p2pool will get an new one from your bitcoind. All your earnings will go to your wallet.

2. If I close and open again p2pool, do I lose any of the work that I did? The 'current payout' seems to go back to 0. If I have a bunch of 'accepted' in the cgminer but still 0 shares in the p2pool, then reconnect, do I lose the work that I did? This is probably a silly question but I want to make sure Cheesy
Your work is remembered by the network, so nothing is lost. If you specify an address, your p2pool will show the correct "current payout", as it can see your shares in the chain. If it generates a new address, it shows the payout to that address. Don't worry, if a block is found while your previous shares are still valid, you will get paid at both addresses.
member
Activity: 60
Merit: 10
I just joined p2pool and so far it seems pretty tremendous. I have some questions.

1. Is it recommended to give an address with the -a flag and keep this address the same always? Does it make a difference?

2. If I close and open again p2pool, do I lose any of the work that I did? The 'current payout' seems to go back to 0. If I have a bunch of 'accepted' in the cgminer but still 0 shares in the p2pool, then reconnect, do I lose the work that I did? This is probably a silly question but I want to make sure Cheesy
Jump to: