Bitcoin Forum
April 24, 2024, 09:01:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591623 times)
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


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

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.
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713949299
Hero Member
*
Offline Offline

Posts: 1713949299

View Profile Personal Message (Offline)

Ignore
1713949299
Reply with quote  #2

1713949299
Report to moderator
1713949299
Hero Member
*
Offline Offline

Posts: 1713949299

View Profile Personal Message (Offline)

Ignore
1713949299
Reply with quote  #2

1713949299
Report to moderator
1713949299
Hero Member
*
Offline Offline

Posts: 1713949299

View Profile Personal Message (Offline)

Ignore
1713949299
Reply with quote  #2

1713949299
Report to moderator
dub0matic
Full Member
***
Offline Offline

Activity: 182
Merit: 100



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

damn the day of blocks we got going on. Shocked

make it rain haha
btc 176MrZ3CCXGb1GqFiGaoqQpaynzYqZsW6n
stevegee58
Legendary
*
Offline Offline

Activity: 916
Merit: 1003



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

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
Merit: 1024



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

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?

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


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

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
Merit: 1024



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

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

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 06, 2012, 12:01:44 AM
Last edit: March 06, 2012, 12:18:03 AM by DeathAndTaxes
 #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!

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: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


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

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: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 06, 2012, 12:16:04 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.
So ... you were both wondering if he got it right or screwed it up? Tongue

No and no.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



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

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.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



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

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
Merit: 1079


Gerald Davis


View Profile
March 06, 2012, 01:43:10 AM
Last edit: March 06, 2012, 01:59:50 AM by DeathAndTaxes
 #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.

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: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

...
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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


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

...
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: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

heh yeah I just changed that as you posted Smiley

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
March 06, 2012, 05:10:09 AM
 #1139

Hi!

 Since day 27 feb 2012, the patron_sendmany stops working for me... Just now I take notice of it...

 Look:

$ wget -O- http://192.168.10.1:9332/patron_sendmany?total=2.0 | more
--2012-03-06 02:08:05--  http://192.168.1.235:9332/patron_sendmany?total=200
Connecting to 192.168.1.235:9332... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50 [text/plain]
Saving to: `STDOUT'

100%[===============================================================================================================================>] 50          --.-K/s   in 0s     

2012-03-06 02:08:05 (4.23 MB/s) - written to stdout [50/50]

need total argument. go to patron_sendmany/<TOTAL>


 For both Bitcoin 9332 and Litecoin 9327 I got this...

 Any tip!?

Thanks!
Thiago
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
March 06, 2012, 06:34:43 AM
 #1140

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.

I guess we need a clarification for this ^^ ...

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
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 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!