Bitcoin Forum
April 16, 2024, 03:25:39 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 [608] 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591608 times)
reallive1
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 20, 2015, 10:41:41 PM
 #12141

As far as rewriting goes:
Stratum being a "human readable protocol"(json based), it's string manipulation in the end, python should be good enough.
The stratum protocol bits are just string manipulation but that part alone is only one tiny component of writing pool software. It was good enough in the days when only one client was expected to connect to a p2pool instance, but if you want p2pool to be useful it needs to attract big miners to push the hashrate which means hundreds if not thousands of clients for a local p2pool instance. It does not remotely scale. There are far more fundamental problems that need addressing in the modern world of mining than the mostly cosmetic startup exception issue.

You're right on the point where cosmetic start-up issue is not the biggest problem. Starting from there, could you list known fundamental problem?

To my knowledge, stratum don't keep its socket open(am I wrong?), thus scalability shouldn't be much of an issue here if the computer is fast enough. This could be profiled to get a better idea.
1713281139
Hero Member
*
Offline Offline

Posts: 1713281139

View Profile Personal Message (Offline)

Ignore
1713281139
Reply with quote  #2

1713281139
Report to moderator
1713281139
Hero Member
*
Offline Offline

Posts: 1713281139

View Profile Personal Message (Offline)

Ignore
1713281139
Reply with quote  #2

1713281139
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713281139
Hero Member
*
Offline Offline

Posts: 1713281139

View Profile Personal Message (Offline)

Ignore
1713281139
Reply with quote  #2

1713281139
Report to moderator
1713281139
Hero Member
*
Offline Offline

Posts: 1713281139

View Profile Personal Message (Offline)

Ignore
1713281139
Reply with quote  #2

1713281139
Report to moderator
wilth1
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
February 21, 2015, 01:03:02 AM
 #12142

Spun up a node yesterday and pointed some gear at it Shocked
Prelude
Legendary
*
Offline Offline

Activity: 1596
Merit: 1000



View Profile
February 21, 2015, 01:04:53 AM
 #12143

Count me in for a bounty. We can't just let p2pool die.
iegservers
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
February 21, 2015, 01:07:16 AM
 #12144

Spun up a node yesterday and pointed some gear at it Shocked
Count me in for a bounty. We can't just let p2pool die.

More of this please!!!! Smiley I will throw some btc at development as well. Smiley
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
February 21, 2015, 01:10:03 AM
 #12145

Spun up a node yesterday and pointed some gear at it Shocked
Count me in for a bounty. We can't just let p2pool die.

More of this please!!!! Smiley I will throw some btc at development as well. Smiley
Development isn't the current issue.
You need a workable design that overcomes the current problems first ...

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
Prelude
Legendary
*
Offline Offline

Activity: 1596
Merit: 1000



View Profile
February 21, 2015, 01:20:57 AM
 #12146

Spun up a node yesterday and pointed some gear at it Shocked
Count me in for a bounty. We can't just let p2pool die.

More of this please!!!! Smiley I will throw some btc at development as well. Smiley
Development isn't the current issue.
You need a workable design that overcomes the current problems first ...

No, but it's an issue nonetheless. A bounty might hopefully get the ball rolling.
nezroy
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
February 21, 2015, 01:41:08 AM
 #12147

Development isn't the current issue.
You need a workable design that overcomes the current problems first ...

Can you summarize (or link to one?) as to what the current problems are? I'm relatively new to p2pool and haven't had a chance to catch up on all 600+ pages of this thread yet. Thanks Smiley
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
February 21, 2015, 02:12:27 AM
 #12148

Development isn't the current issue.
You need a workable design that overcomes the current problems first ...

Can you summarize (or link to one?) as to what the current problems are? I'm relatively new to p2pool and haven't had a chance to catch up on all 600+ pages of this thread yet. Thanks Smiley

I would say the three main problems are:

1 - it's single threaded.  that means it starts to bog down, FAST, with heavy loads.
2 - share chain difficulty is directly proportional to pool hashpower.  the more hashpower there is, the higher the share chain difficulty, making it harder and harder for smaller miners to get a share.
3 - 30 second work restart.  this directly relates to #2.  p2pool targets to get a share on the alt chain once every 30 seconds.  the more hashpower, the quicker shares are found, so the higher the share chain requirement.  weak hardware (which is most of it) does not like 30 second restarts.  some hardware tolerates it, but suffers (bitmain hardware with up to date firmware).  some hardware is okay (spondoolies).  some hardware doesn't work at all.  increasing the time frame for a share means higher share difficulty.  see #2.

I think #2 and #3 are the fatal flaws of the current p2pool design.  Those have to change radically for p2pool to be successful on a wide scale.

When trying to solve #2 and #3 remember p2pool is decentralized.  each share submitted to the alt chain is a potential block, and contains the payout information for all miners who've successfully submitted shares on the alt chain.  furthermore, each p2pool node verifies the work submitted to the block chain.

M

EDIT: Most hardware today is designed with the BTC protocol in mind, which means complete work restarts every 10 minutes.  That's 20x less frequent than p2pool.  Most conventional pools (At least those I've watched the data flow through closely) submit new work every few minutes or less (without a work restart requirement), but they continue to accept old work until the miner can switch to the new jobs.  p2pool doesn't do that.  every 30 seconds (on average), it's a hard restart, and old work is ignored.

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
-ck
Legendary
*
Offline Offline

Activity: 4074
Merit: 1623


Ruu \o/


View Profile WWW
February 21, 2015, 02:17:24 AM
 #12149

To my knowledge, stratum don't keep its socket open(am I wrong?), thus scalability shouldn't be much of an issue here if the computer is fast enough. This could be profiled to get a better idea.
Let me be clear - stratum is not the issue here, it is just a communication protocol for the actual mining and it is NOT stratum or p2pool's stratum implementation that is the problem.

You need to get a firm grasp of what is involved in mining, pooled mining and the p2pool share chain first before you can understand where the problems are.

Let that not stop you from starting on the bits you do understand though since you have to start somewhere when helping out with an established project you're new to.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
armedmilitia
Hero Member
*****
Offline Offline

Activity: 562
Merit: 506


We're going to need a bigger heatsink.


View Profile WWW
February 21, 2015, 05:37:56 AM
 #12150

Isn't it true that if you mine on a node with other people (in your local area, to keep latency down), you can reduce difficulty to get a share that way (as the entire node finds a share, and distributes it to the participants via a lower difficulty pps method)?

I see that to be a viable workaround to flaw #2 above. Sure, it might boost centralization a bit as miners conglomerate into local nodes, but as long as there are geographic distances between miners super-nodes (51% of hashrate) shouldn't exist due to latency.

If this has already been answered in the thread, sorry!  Smiley

Always use escrow. OgNasty is pretty sweet.

Help me out with compiling a list of mining datacenters!
-ck
Legendary
*
Offline Offline

Activity: 4074
Merit: 1623


Ruu \o/


View Profile WWW
February 21, 2015, 07:04:05 AM
 #12151

Isn't it true that if you mine on a node with other people (in your local area, to keep latency down), you can reduce difficulty to get a share that way (as the entire node finds a share, and distributes it to the participants via a lower difficulty pps method)?

I see that to be a viable workaround to flaw #2 above. Sure, it might boost centralization a bit as miners conglomerate into local nodes, but as long as there are geographic distances between miners super-nodes (51% of hashrate) shouldn't exist due to latency.

If this has already been answered in the thread, sorry!  Smiley
Yes it's been discussed (and done) many times before. You'll see the irony in this solution when you realise that the solution to the problem with distributed mining is... pooled mining. It requires a level of communication and trust and coordination which totally undoes the whole concept of everyone running their own p2pool node which need not have any trust component to it.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
February 21, 2015, 07:06:26 AM
 #12152

Isn't it true that if you mine on a node with other people (in your local area, to keep latency down), you can reduce difficulty to get a share that way (as the entire node finds a share, and distributes it to the participants via a lower difficulty pps method)?

I see that to be a viable workaround to flaw #2 above. Sure, it might boost centralization a bit as miners conglomerate into local nodes, but as long as there are geographic distances between miners super-nodes (51% of hashrate) shouldn't exist due to latency.

If this has already been answered in the thread, sorry!  Smiley
No.

You can only lower your share difficulty to the network's determined difficulty.  You do this by using the "/" after your address.  This may sound confusing, but it's pretty easy in reality.

If the node you're mining on has a considerably higher hash rate than what you are contributing, then it is advantageous to you to tell the node you want to have the network minimum share value.  For example.  Let's say that I run my own node and I have 30TH/s on it.  If you bring a single S5 onto my node, then you should setup your user name like this: "MYBTCADDRESS/1000".  That "/1000" will ensure that the node will accept the minimum share difficulty for your miner - which right now is 3,200,000ish.  My 30TH/s miner, if I set the user name up like this: "MYBTCADDRESS", will assign me a share difficulty of about 14,000,000.

P2Pool assigns your miners difficulty based upon the node's total hash rate.  You override that value by using "/".

Hope that helps.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
February 21, 2015, 12:02:30 PM
 #12153

Isn't it true that if you mine on a node with other people (in your local area, to keep latency down), you can reduce difficulty to get a share that way (as the entire node finds a share, and distributes it to the participants via a lower difficulty pps method)?

I see that to be a viable workaround to flaw #2 above. Sure, it might boost centralization a bit as miners conglomerate into local nodes, but as long as there are geographic distances between miners super-nodes (51% of hashrate) shouldn't exist due to latency.

If this has already been answered in the thread, sorry!  Smiley

You can not lower the minimum alt share requirement.  You can only raise it.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
aurel57
Legendary
*
Offline Offline

Activity: 1176
Merit: 1000



View Profile
February 21, 2015, 01:50:32 PM
Last edit: February 21, 2015, 07:12:04 PM by aurel57
 #12154


greenshot
DiCE1904
Legendary
*
Offline Offline

Activity: 1118
Merit: 1002


View Profile WWW
February 21, 2015, 05:06:47 PM
 #12155


and another one  Cool

Duce
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile
February 21, 2015, 05:38:10 PM
 #12156

With everybody leaving I have just about made up for the slow week as my share value has more than doubled. Good thing I was on the road last week and just decided not to bother with the miners until I came home.
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
February 21, 2015, 06:08:43 PM
 #12157

and a block ! more to come
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 21, 2015, 07:43:45 PM
 #12158

At last! Hopefully there will be a few more to make up for the terrible last 10 days we've had - although I do have the feeling that the reason we got these 2 blocks is because so many users left..... Tongue

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
aurel57
Legendary
*
Offline Offline

Activity: 1176
Merit: 1000



View Profile
February 21, 2015, 08:15:28 PM
 #12159

Isn't it true that if you mine on a node with other people (in your local area, to keep latency down), you can reduce difficulty to get a share that way (as the entire node finds a share, and distributes it to the participants via a lower difficulty pps method)?

I see that to be a viable workaround to flaw #2 above. Sure, it might boost centralization a bit as miners conglomerate into local nodes, but as long as there are geographic distances between miners super-nodes (51% of hashrate) shouldn't exist due to latency.

If this has already been answered in the thread, sorry!  Smiley
No.

You can only lower your share difficulty to the network's determined difficulty.  You do this by using the "/" after your address.  This may sound confusing, but it's pretty easy in reality.

If the node you're mining on has a considerably higher hash rate than what you are contributing, then it is advantageous to you to tell the node you want to have the network minimum share value.  For example.  Let's say that I run my own node and I have 30TH/s on it.  If you bring a single S5 onto my node, then you should setup your user name like this: "MYBTCADDRESS/1000".  That "/1000" will ensure that the node will accept the minimum share difficulty for your miner - which right now is 3,200,000ish.  My 30TH/s miner, if I set the user name up like this: "MYBTCADDRESS", will assign me a share difficulty of about 14,000,000.

P2Pool assigns your miners difficulty based upon the node's total hash rate.  You override that value by using "/".

Hope that helps.

So I am on a node that has 10Th+ and I have a S5 there running at 500Gh so I should set it at  /? use 1000?
Songminer
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
February 21, 2015, 08:15:55 PM
 #12160

Hey, I clicked on the open pool list on P2Pool.org.. and its blank.

http://p2pool-nodes.info/

It was populated the other day..

Pages: « 1 ... 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 [608] 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 ... 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!