Bitcoin Forum
October 16, 2018, 11:16:21 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 [700] 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 ... 815 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2566656 times)
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 13, 2015, 12:55:04 PM
 #13981


EDIT: What package does pypy use for twisted? I get     from twisted.internet import defer, reactor, protocol, tcp ImportError: No module named twisted


Here's what I used:

Code:
#p2pool uses twisted, and twisted uses zope.interface, and in order to install either one you need setuptools, so let's start with that:

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo pypy
sudo rm setuptools-18.3.2.zip

#Then zope.interface:

wget https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79
tar zxf zope.interface-4.1.3.tar.gz
cd zope.interface-4.1.3/
sudo pypy setup.py install
cd ..
sudo rm -r zope.interface-4.1.3*

#Then Twisted:

wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.4.0.tar.bz2
tar jxf Twisted-15.4.0.tar.bz2
cd Twisted-15.4.0
sudo pypy setup.py install
cd ..
sudo rm -r Twisted-15.4.0*

Hope you got loads of RAM, cos it sucks the living daylights out of it  Smiley
1539688581
Hero Member
*
Offline Offline

Posts: 1539688581

View Profile Personal Message (Offline)

Ignore
1539688581
Reply with quote  #2

1539688581
Report to moderator
1539688581
Hero Member
*
Offline Offline

Posts: 1539688581

View Profile Personal Message (Offline)

Ignore
1539688581
Reply with quote  #2

1539688581
Report to moderator
1539688581
Hero Member
*
Offline Offline

Posts: 1539688581

View Profile Personal Message (Offline)

Ignore
1539688581
Reply with quote  #2

1539688581
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539688581
Hero Member
*
Offline Offline

Posts: 1539688581

View Profile Personal Message (Offline)

Ignore
1539688581
Reply with quote  #2

1539688581
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2674
Merit: 1143


Ruu \o/


View Profile WWW
December 13, 2015, 01:08:06 PM
 #13982

Here's what I used:

Code:
#p2pool uses twisted, and twisted uses zope.interface, and in order to install either one you need setuptools, so let's start with that:

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo pypy
sudo rm setuptools-18.3.2.zip

#Then zope.interface:

wget https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79
tar zxf zope.interface-4.1.3.tar.gz
cd zope.interface-4.1.3/
sudo pypy setup.py install
cd ..
sudo rm -r zope.interface-4.1.3*

#Then Twisted:

wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.4.0.tar.bz2
tar jxf Twisted-15.4.0.tar.bz2
cd Twisted-15.4.0
sudo pypy setup.py install
cd ..
sudo rm -r Twisted-15.4.0*

Hope you got loads of RAM, cos it sucks the living daylights out of it  Smiley

Thanks for that, firing it up now. It's an 8GB VPS.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 13, 2015, 02:38:03 PM
 #13983

Here's what I used:

Code:
#p2pool uses twisted, and twisted uses zope.interface, and in order to install either one you need setuptools, so let's start with that:

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo pypy
sudo rm setuptools-18.3.2.zip

#Then zope.interface:

wget https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79
tar zxf zope.interface-4.1.3.tar.gz
cd zope.interface-4.1.3/
sudo pypy setup.py install
cd ..
sudo rm -r zope.interface-4.1.3*

#Then Twisted:

wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.4.0.tar.bz2
tar jxf Twisted-15.4.0.tar.bz2
cd Twisted-15.4.0
sudo pypy setup.py install
cd ..
sudo rm -r Twisted-15.4.0*

Hope you got loads of RAM, cos it sucks the living daylights out of it  Smiley

Thanks for that, firing it up now. It's an 8GB VPS.

much better now

Local rate: 1.49TH/s (7.8% DOA) Expected time to share: 53.7 minutes
Shares: 2 total (0 orphaned, 0 dead) Efficiency: 120.0%
e46btc
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
December 13, 2015, 04:27:39 PM
 #13984

Local rate: 1.49TH/s (7.8% DOA) Expected time to share: 53.7 minutes
Shares: 2 total (0 orphaned, 0 dead) Efficiency: 120.0%
Actually 53 minutes and 2 'live' shares are not enough for statistics.
For the best p2pool performance it is much better to run own local node near your miners, here is example:



This was private node with 100% fee for testing purposes.  Lower miners qty per one node works much better also.


The same node with remote miners with good connectivity and ping below 40ms give you also quite a lot of DOA hashrate about ~10% and more DOA shares also. But I never tried p2pool w/ ckproxy.. I think this kind of design issue..

https://double-spending.com/ - Automatic double-spending tool
https://dgb256.online - Digibyte DGB pool for SHA256 algorithm
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 2702
Merit: 1376


I 💚 Bitcoin


View Profile WWW
December 13, 2015, 05:24:45 PM
 #13985

I've been working with some experimental ckproxy code designed to consolidate multiple user logins into different upstream connections.

This makes me happy.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2674
Merit: 1143


Ruu \o/


View Profile WWW
December 13, 2015, 09:21:23 PM
 #13986

Local rate: 1.49TH/s (7.8% DOA) Expected time to share: 53.7 minutes
Shares: 2 total (0 orphaned, 0 dead) Efficiency: 120.0%
Actually 53 minutes and 2 'live' shares are not enough for statistics.
For the best p2pool performance it is much better to run own local node near your miners, here is example:
We're aware of that. This is an experiment on improving node performance for multiple miners.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 13, 2015, 10:05:22 PM
 #13987

Local rate: 1.49TH/s (7.8% DOA) Expected time to share: 53.7 minutes
Shares: 2 total (0 orphaned, 0 dead) Efficiency: 120.0%
Actually 53 minutes and 2 'live' shares are not enough for statistics.
For the best p2pool performance it is much better to run own local node near your miners, here is example:



This was private node with 100% fee for testing purposes.  Lower miners qty per one node works much better also.


The same node with remote miners with good connectivity and ping below 40ms give you also quite a lot of DOA hashrate about ~10% and more DOA shares also. But I never tried p2pool w/ ckproxy.. I think this kind of design issue..

version 14?
e46btc
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
December 14, 2015, 06:01:13 AM
 #13988


version 14?
This is not running now, just saved screenshot. 

ps: sorry for picture size, uploaded from tablet

https://double-spending.com/ - Automatic double-spending tool
https://dgb256.online - Digibyte DGB pool for SHA256 algorithm
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 14, 2015, 09:45:04 AM
 #13989

Was this "tremor in the force" when the changeover happened?:

 

Orphan rate has been rising steadily ever since - now at 25%?

Edit: 4 of my last 5 shares are orphaned also  Sad
windpath
Legendary
*
Offline Offline

Activity: 1233
Merit: 1000


View Profile WWW
December 14, 2015, 03:57:52 PM
 #13990

1 more block for BIP65 enforcement 949/950

https://chainquery.com/bitcoin-api/getblockchaininfo

Edit: and we are there:

Code:
{
"id": "bip65",
"version": 4,
"enforce": {
"status": true,
"found": 950,
"required": 750,
"window": 1000
},
"reject": {
"status": true,
"found": 950,
"required": 950,
"window": 1000
}
}

e46btc
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
December 14, 2015, 06:05:40 PM
 #13991

We're aware of that. This is an experiment on improving node performance for multiple miners.
Sure I got this.
Another solution (or almost the same?) is also ckpool based, this may be not so elegant as yours but looks like it may work.

One guy asked me about how to configure ckpool in proxy mode for multiple users to deal with p2pool network.
As these users do not want to install and have Core wallet but they use online wallets which not accepts generated transactions.  So in this test enviroment ckpool works like a gateway and uses the single connection from ckproxy to p2pool network and single worker (payout address).  Is this the same what you doing?

In this case original Payout module and pplns_process() calculations of ckpool will be useless for this exact case (p2pool) and it need to be rewritten because ckpool will never know about solved p2pool Block and payouts will be never calculated based on received payout from p2pool network to specified address. But in case of single node owner with multiple miners (own devices) payout is not a problem. For different miners (persons) ckpool still can be  adopted for completely another payment module and another Block detection mechanism.  
PS: I do not ask you to do it for sure, just told it is possible if someone need this solution.

So.. This is local node w/ bitcoind, p2pool and ckpool on the same server, it is running well with no DOA shares for now and I am pretty sure only because this is LOCAL node but not remote.
I still do not have statistics for long period but for 12 hours now and just 2 workers but maybe it doesn't as soon as ckproxy running well . I have made conclusion for some time of using p2pool that it is necessary to have own local node with the shortest round trip delay, in this case DOA hashrate and DOA shares are minimal.   Another issue is GBT latency but this is not related to this particular task.






https://double-spending.com/ - Automatic double-spending tool
https://dgb256.online - Digibyte DGB pool for SHA256 algorithm
wariner
Legendary
*
Offline Offline

Activity: 1246
Merit: 1001


pool.sexy


View Profile
December 15, 2015, 08:11:49 AM
 #13992

this change http://xtnodes.com/p2pool_configuration.php

work for new v4 ? or need different configuration for xt nodes?

Pool.sexy - Pool ETH-ETC-EXP-UBQ-ZEC-DBIX..and more low fee Discussion

my BTC: 1KiMpRAWscBvhRgLs8jDnqrZEKJzt3Ypfi
forrestv
Hero Member
*****
Offline Offline

Activity: 516
Merit: 513


View Profile
December 15, 2015, 09:18:49 AM
 #13993

this change http://xtnodes.com/p2pool_configuration.php

work for new v4 ? or need different configuration for xt nodes?


You need to be upgraded to the newest P2Pool version (v15.0, to support v4 blocks/BIP65) and then also make that change (if you want to support Bitcoin XT).

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 15, 2015, 09:34:11 AM
 #13994

We're aware of that. This is an experiment on improving node performance for multiple miners.
Sure I got this.
Another solution (or almost the same?) is also ckpool based, this may be not so elegant as yours but looks like it may work.

One guy asked me about how to configure ckpool in proxy mode for multiple users to deal with p2pool network.
As these users do not want to install and have Core wallet but they use online wallets which not accepts generated transactions.  So in this test enviroment ckpool works like a gateway and uses the single connection from ckproxy to p2pool network and single worker (payout address).  Is this the same what you doing?

In this case original Payout module and pplns_process() calculations of ckpool will be useless for this exact case (p2pool) and it need to be rewritten because ckpool will never know about solved p2pool Block and payouts will be never calculated based on received payout from p2pool network to specified address. But in case of single node owner with multiple miners (own devices) payout is not a problem. For different miners (persons) ckpool still can be  adopted for completely another payment module and another Block detection mechanism.  
PS: I do not ask you to do it for sure, just told it is possible if someone need this solution.

So.. This is local node w/ bitcoind, p2pool and ckpool on the same server, it is running well with no DOA shares for now and I am pretty sure only because this is LOCAL node but not remote.
I still do not have statistics for long period but for 12 hours now and just 2 workers but maybe it doesn't as soon as ckproxy running well . I have made conclusion for some time of using p2pool that it is necessary to have own local node with the shortest round trip delay, in this case DOA hashrate and DOA shares are minimal.   Another issue is GBT latency but this is not related to this particular task.







does it mean that the best ever would be p2pool was mining to just one address and then as coins mature it would be redistributed? is not this what nasty is doing? if there was different payout mechanism implemented in p2pool it would probably solve a lot but we will hear again that it is way to lose control. so...
wariner
Legendary
*
Offline Offline

Activity: 1246
Merit: 1001


pool.sexy


View Profile
December 15, 2015, 09:37:12 AM
 #13995

this change http://xtnodes.com/p2pool_configuration.php

work for new v4 ? or need different configuration for xt nodes?


You need to be upgraded to the newest P2Pool version (v15.0, to support v4 blocks/BIP65) and then also make that change (if you want to support Bitcoin XT).

yes i have p2pool v 15.0.1, but this work?:

https://github.com/p2pool/p2pool/blob/master/p2pool/work.py

 - version=min(self.current_work.value['version'], 4),
 + version=536870919,

Pool.sexy - Pool ETH-ETC-EXP-UBQ-ZEC-DBIX..and more low fee Discussion

my BTC: 1KiMpRAWscBvhRgLs8jDnqrZEKJzt3Ypfi
forrestv
Hero Member
*****
Offline Offline

Activity: 516
Merit: 513


View Profile
December 15, 2015, 09:54:29 AM
 #13996

yes i have p2pool v 15.0.1, but this work?:

https://github.com/p2pool/p2pool/blob/master/p2pool/work.py

 - version=min(self.current_work.value['version'], 4),
 + version=536870919,

Yes.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
kano
Legendary
*
Online Online

Activity: 2604
Merit: 1054


Linux since 1997 RedHat 4


View Profile
December 15, 2015, 10:04:13 AM
 #13997

... but we will hear again that it is way to lose control. so...
This is already common with p2pool making centralised mining nodes ...

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 15, 2015, 11:38:17 AM
 #13998

if connections thru 9333 were compressed, would it make sharing the chain faster?
or if there was added 9334 compressed as an alternative for 9333...
Richy_T
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 15, 2015, 03:26:15 PM
 #13999

It seems like in this thread there have been lots of recommendations for various settings and tweaks for bitcoind, p2pool and the various miners. It doesn't seem like anyone is correcting these anywhere. I may do so if someone is not already.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 2702
Merit: 1376


I 💚 Bitcoin


View Profile WWW
December 15, 2015, 06:44:30 PM
 #14000

does it mean that the best ever would be p2pool was mining to just one address and then as coins mature it would be redistributed? is not this what nasty is doing?

That is our vision (credit to nonnakip for the work he's done on it), only we also distribute based on hashrate and not accepted p2pool shares to be fair to the little guys.  I think it is a much better solution than to run a centralized pool out of the gate.  I would love to see more p2pool sub-pools pop up with their own unique features, the way NastyPool offers our unique payout method and mining credits.  It sounds like -ck is working to help make his proxy more stable for this use which may be a huge step forward in bringing more users to the p2pool network.

Pages: « 1 ... 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 [700] 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 ... 815 »
  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!