Bitcoin Forum
December 07, 2016, 10:39:37 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2032367 times)
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
March 05, 2012, 09:30:02 PM
 #1121

I can get diablo running, but it just sits at 0.0Mh/s, even though the P2Pool app seems to be working fine.

It sounds like you might not have the port set .. are you running DiabloMiner with "-r 9332"? If you are, can you pastebin the command that you're running and its output? Check if P2Pool has any error messages and run DiaboMiner with the debug flag too (I think it's just -d).

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481107177
Hero Member
*
Offline Offline

Posts: 1481107177

View Profile Personal Message (Offline)

Ignore
1481107177
Reply with quote  #2

1481107177
Report to moderator
1481107177
Hero Member
*
Offline Offline

Posts: 1481107177

View Profile Personal Message (Offline)

Ignore
1481107177
Reply with quote  #2

1481107177
Report to moderator
Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
March 05, 2012, 10:03:08 PM
 #1122

The transition ~40 hours ago went better than expected. Thanks to all for upgrading.

Now that we're using the new implementation, miners can volunteer to raise their share difficulty by adding something like "/1300" to the end of their miners' usernames. The 1300 is the difficulty of your own shares, and can be changed but must be higher than P2Pool's difficulty (currently 650) to have any effect. I urge anyone whose variance is dominated by P2Pool's block finding to try this (which really means anyone who gets more than a few shares per hour). This has the effect of lowering P2Pool's difficulty for the benefit of small miners, which may let P2Pool grow further.

Last, a side note (mainly to DeathAndTaxes): I just pushed a commit that will add another option ("+1") that lets you choose your pseudoshare difficulty, so you can fix it to some value.

By "adding to the username" you mean the username specified in bitcoin.conf (rpcuser=)?

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 05, 2012, 10:21:14 PM
 #1123

The transition ~40 hours ago went better than expected. Thanks to all for upgrading.

Now that we're using the new implementation, miners can volunteer to raise their share difficulty by adding something like "/1300" to the end of their miners' usernames. The 1300 is the difficulty of your own shares, and can be changed but must be higher than P2Pool's difficulty (currently 650) to have any effect. I urge anyone whose variance is dominated by P2Pool's block finding to try this (which really means anyone who gets more than a few shares per hour). This has the effect of lowering P2Pool's difficulty for the benefit of small miners, which may let P2Pool grow further.

Last, a side note (mainly to DeathAndTaxes): I just pushed a commit that will add another option ("+1") that lets you choose your pseudoshare difficulty, so you can fix it to some value.

By "adding to the username" you mean the username specified in bitcoin.conf (rpcuser=)?

Dia

I think he means the username sent by the miner. i.e. in cgminer instead of a username "user" you would use a username of "user /1300" to request 1300 difficulty work from p2pool.
dub0matic
Full Member
***
Offline Offline

Activity: 182



View Profile
March 05, 2012, 10:57:40 PM
 #1124

damn the day of blocks we got going on. Shocked

make it rain haha
btc 176MrZ3CCXGb1GqFiGaoqQpaynzYqZsW6n
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
March 05, 2012, 11:29:28 PM
 #1125

damn the day of blocks we got going on. Shocked
I ain't complainin'

You are in a maze of twisty little passages, all alike.
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
March 05, 2012, 11:45:44 PM
 #1126

The transition ~40 hours ago went better than expected. Thanks to all for upgrading.

Now that we're using the new implementation, miners can volunteer to raise their share difficulty by adding something like "/1300" to the end of their miners' usernames. The 1300 is the difficulty of your own shares, and can be changed but must be higher than P2Pool's difficulty (currently 650) to have any effect. I urge anyone whose variance is dominated by P2Pool's block finding to try this (which really means anyone who gets more than a few shares per hour). This has the effect of lowering P2Pool's difficulty for the benefit of small miners, which may let P2Pool grow further.

Last, a side note (mainly to DeathAndTaxes): I just pushed a commit that will add another option ("+1") that lets you choose your pseudoshare difficulty, so you can fix it to some value.

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 05, 2012, 11:48:55 PM
 #1127

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

Well p2pool has always supported variable difficulty shares.  This simple lets you set a higher than minimum diff.  You would need to set it ahead of time.  If you don't cheating is trivially easy.  Look I just found a diff 200,000 shares woot.  I get credit for 40,000 shares!
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
March 05, 2012, 11:58:54 PM
 #1128

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

Well p2pool has always supported variable difficulty shares.  This simple lets you set a higher than minimum diff.  You would need to set it ahead of time.  If you don't cheating is trivially easy.  Look I just found a diff 200,000 shares woot.  I get credit for 40,000 shares!

Yeah, that's what I was getting at.  I just didn't want to spell it all out in public until I heard from forrestv that it was taken care of.  Smiley

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 06, 2012, 12:01:44 AM
 #1129

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

Well p2pool has always supported variable difficulty shares.  This simple lets you set a higher than minimum diff.  You would need to set it ahead of time.  If you don't cheating is trivially easy.  Look I just found a diff 200,000 shares woot.  I get credit for 40,000 shares!

Yeah, that's what I was getting at.  I just didn't want to spell it all out in public until I heard from forrestv that it was taken care of.  Smiley

Ah I see.  Oops.  Well looking over the code I the share difficulty is part of the block header. Thus diff is defined before hashing and once you find a share it is only good for that difficulty as you submit share data long w/ hash to the share chain to allow other nodes to verify.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 06, 2012, 12:12:25 AM
 #1130

Wasn't that one of the 2 new points of this post?
https://bitcointalk.org/index.php?topic=18313.msg785010#msg785010

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 06, 2012, 12:13:27 AM
 #1131

Wasn't that one of the 2 new points of this post?
https://bitcointalk.org/index.php?topic=18313.msg785010#msg785010

Yes that is what we are talking about.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 06, 2012, 12:15:01 AM
 #1132

Wasn't that one of the 2 new points of this post?
https://bitcointalk.org/index.php?topic=18313.msg785010#msg785010

Yes that is what we are talking about.
So ... you were both wondering if he got it right or screwed it up? Tongue

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 06, 2012, 12:16:04 AM
 #1133

Wasn't that one of the 2 new points of this post?
https://bitcointalk.org/index.php?topic=18313.msg785010#msg785010

Yes that is what we are talking about.
So ... you were both wondering if he got it right or screwed it up? Tongue

No and no.
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
March 06, 2012, 12:23:09 AM
 #1134

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

Well p2pool has always supported variable difficulty shares.  This simple lets you set a higher than minimum diff.  You would need to set it ahead of time.  If you don't cheating is trivially easy.  Look I just found a diff 200,000 shares woot.  I get credit for 40,000 shares!

Yeah, that's what I was getting at.  I just didn't want to spell it all out in public until I heard from forrestv that it was taken care of.  Smiley

Ah I see.  Oops.  Well looking over the code I the share difficulty is part of the block header. Thus diff is defined before hashing and once you find a share it is only good for that difficulty as you submit share data long w/ hash to the share chain to allow other nodes to verify.

The bitcoin network target is in the block header.  This is not the same as the p2pool target.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
sharky112065
Sr. Member
****
Offline Offline

Activity: 383



View Profile
March 06, 2012, 12:43:19 AM
 #1135

Does p2pool backup the log file before it wipes it and starts over? I noticed that around 10 AM my time this morning, that p2pool wiped my log file and started fresh (first entries are after 10 AM). I cannot find anywhere that it got backed up. Can you add an option to do log file backups?

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 06, 2012, 01:43:10 AM
 #1136

Am I correct in thinking that p2pool now provides variable size shares?  Will shares found that are higher than the current (network) difficulty automatically scale, or does it need to be set in advance?

Well p2pool has always supported variable difficulty shares.  This simple lets you set a higher than minimum diff.  You would need to set it ahead of time.  If you don't cheating is trivially easy.  Look I just found a diff 200,000 shares woot.  I get credit for 40,000 shares!

Yeah, that's what I was getting at.  I just didn't want to spell it all out in public until I heard from forrestv that it was taken care of.  Smiley

Ah I see.  Oops.  Well looking over the code I the share difficulty is part of the block header. Thus diff is defined before hashing and once you find a share it is only good for that difficulty as you submit share data long w/ hash to the share chain to allow other nodes to verify.

The bitcoin network target is in the block header.  This is not the same as the p2pool target.

I was refering to the p2pool target not bitcoin target.  Obviously bitcoin diff is in the bitcoin header but that has nothing to do w/ p2pool allowing variable diff shares.

p2pool puts various pieces of data into the coinbase otherwise creating fake shares of higher difficulty would be trivial.

say p2pool difficulty is 500 and thus all shares of diff 500 are worth 500 "points" not 1 share.  I say point because since share diff is always changing p2pool doesn't split reward by # of shares it splits them by weighted workshare = # of shares * share difficulty.   Remember diff is constantly changing thus p2pool can't count all shares as equal otherwise a share when target is 400 = share when target is 500. 


If there was nothing put into the block header one could easily (I mean about 15 seconds of code changing) cheat the entire network by massive proportions.  When you find a share simply modify the share chain data to reflect diff as found not diff as trying.  So if you find a 500 diff share submit it as a 500 diff share.  If you find a 50,000 dif share submit it as a 50,000 dif share (worth 100x as much).  It doesn't take a rocket scientist to realize one could get 99.9999999% of the reward on every single block by cheating.

p2pool prevents this by choosing a share diff BEFORE hashing and encoding this in the coinbase.  Thus if you are looking for a 500 dif share and find one you can't "spoof" the network by sumbitting it as a 50,000 dif share because when validating each node will be unable to recreate the proper block hash and the share will be found invalid.   A share w/ target of 500 not can never be worth more than 500. 

TL/DR version:
Via the coinbase value p2pool encodes the diff of the share being searched.
If you are looking for a share of x diff it is only worth x.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 06, 2012, 03:35:44 AM
 #1137

Wasn't that one of the 2 new points of this post?
https://bitcointalk.org/index.php?topic=18313.msg785010#msg785010

Yes that is what we are talking about.
So ... you were both wondering if he got it right or screwed it up? Tongue

No and no.
So ... for him yes and yes for you no and no.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 06, 2012, 03:45:11 AM
 #1138

...
TL/DR version:
Via the coinbase value p2pool encodes the diff of the share being searched.
If you are looking for a share of x diff it is only worth x.
So ... what it also means is you can choose a share difficulty of whatever you like whenever you like and matching shares will now always be valid in the share chain ... as long as they are above the currently defined share difficulty.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 06, 2012, 03:46:20 AM
 #1139

...
TL/DR version:
Via the coinbase value p2pool encodes the diff of the share being searched.
If you are looking for a share of x diff it is only worth x.
So ... what it also means is you can choose a share difficulty of whatever you like whenever you like and matching shares will now always be valid in the share chain.

Correction:
you can choose any share difficulty >= target difficulty and they will be valid in the share chain.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 06, 2012, 03:48:00 AM
 #1140

heh yeah I just changed that as you posted Smiley

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!