Bitcoin Forum
December 09, 2016, 11:18:54 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 638 639 640 641 642 643 644 645 646 647 648 649 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 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034022 times)
TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 12, 2015, 04:05:50 AM
 #13741

I am ditching Mint.  Building a Ubuntu 14.4 and try again.
1481325534
Hero Member
*
Offline Offline

Posts: 1481325534

View Profile Personal Message (Offline)

Ignore
1481325534
Reply with quote  #2

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

Activity: 266



View Profile
November 12, 2015, 03:09:17 PM
 #13742

I am ditching Mint.  Building a Ubuntu 14.4 and try again.

You should give Xubuntu a try - it's much less resource hungry than Ubuntu, especially once the unneeded programs are removed.
Richy_T
Legendary
*
Offline Offline

Activity: 1246


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
November 12, 2015, 04:45:40 PM
 #13743

I am ditching Mint.  Building a Ubuntu 14.4 and try again.

You should give Xubuntu a try - it's much less resource hungry than Ubuntu, especially once the unneeded programs are removed.

Slackware FTW.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 13, 2015, 12:00:54 AM
 #13744

I am ditching Mint.  Building a Ubuntu 14.4 and try again.

You should give Xubuntu a try - it's much less resource hungry than Ubuntu, especially once the unneeded programs are removed.

I think I will next time around.  Either that or the server version.  This machine is just experimental.  If it works out and p2pool seems good for me, I will buy a new box with a much better processor, 16GB memory, and SSD.  If I understand correctly, that may help some.  I tend to use GUI too much as a crutch with Linux.

Thanks Everyone,

Tom Travis
Carlton Banks
Legendary
*
Online Online

Activity: 1470



View Profile
November 13, 2015, 12:59:03 PM
 #13745

I tend to use GUI too much as a crutch with Linux.

A wise man once told me: the command line always has the answer. Both your experience and the adventures with pypy a few pages back tell us it's not always as simple as that, but it's still good-spirited advice. Maybe you could paraphrase it to "if you can't get it working on the command line, it feels like luck if the GUI version does work"

Vires in numeris
notbatman
Legendary
*
Offline Offline

Activity: 1050



View Profile
November 13, 2015, 01:33:45 PM
 #13746

Gnome is a horrible beast and did you know that the fglrx video driver doesn't support virtual terminals? gah...
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
November 13, 2015, 02:28:22 PM
 #13747

Bitcoin Core version 0.11.2 released

https://bitcoin.org/en/release/v0.11.2

I won't have time to test it today, but there are some changes that may (will?) affect P2Pool, mainly the requirement for version 4 blocks.

From the release notes:

Quote
Notice to miners: Bitcoin Core’s block templates are now for version 4 blocks only, and any mining software relying on its getblocktemplate must be updated in parallel to use libblkmaker either version 0.4.3 or any version from 0.5.2 onward.

Looks like we need an update to only produce version 4+ blocks before OP_CHECKLOCKTIMEVERIFY becomes enforced.

p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266



View Profile
November 13, 2015, 07:30:12 PM
 #13748

Bitcoin Core version 0.11.2 released

https://bitcoin.org/en/release/v0.11.2

I won't have time to test it today, but there are some changes that may (will?) affect P2Pool, mainly the requirement for version 4 blocks.

From the release notes:

Quote
Notice to miners: Bitcoin Core’s block templates are now for version 4 blocks only, and any mining software relying on its getblocktemplate must be updated in parallel to use libblkmaker either version 0.4.3 or any version from 0.5.2 onward.

Looks like we need an update to only produce version 4+ blocks before OP_CHECKLOCKTIMEVERIFY becomes enforced.

Interesting - think I'll hold off updating my node for the time being.

@ forrestv: If you're lurking, can you confirm if a p2pool update is required in order to use the latest Core release? Thanks  Wink
kano
Legendary
*
Online Online

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 14, 2015, 01:23:56 AM
 #13749

Bitcoin Core version 0.11.2 released

https://bitcoin.org/en/release/v0.11.2

I won't have time to test it today, but there are some changes that may (will?) affect P2Pool, mainly the requirement for version 4 blocks.

From the release notes:

Quote
Notice to miners: Bitcoin Core’s block templates are now for version 4 blocks only, and any mining software relying on its getblocktemplate must be updated in parallel to use libblkmaker either version 0.4.3 or any version from 0.5.2 onward.

Yeah that's not quite right ... as seems to be common in recent bitcoin release comments.

In this case of course that comment only makes sense if you use libblkmaker ... which the most used miner on the planet for BTC doesn't use.
Does p2pool even use libblkmaker?
I'm not sure there's much at all that uses it (we don't in ckpool)

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

Activity: 938


View Profile WWW
November 14, 2015, 03:35:05 AM
 #13750

....

Quote
Notice to miners: Bitcoin Core’s block templates are now for version 4 blocks only, and any mining software relying on its getblocktemplate must be updated in parallel to use libblkmaker either version 0.4.3 or any version from 0.5.2 onward.
....
Yeah that's not quite right ... as seems to be common in recent bitcoin release comments.

In this case of course that comment only makes sense if you use libblkmaker ... which the most used miner on the planet for BTC doesn't use.
Does p2pool even use libblkmaker?
I'm not sure there's much at all that uses it (we don't in ckpool)

Thanks Kano, so you do not believe we need any update?

I noticed many of our recent blocks are version 3.

Once CLTV is enforced will new version 3 blocks be valid?

kano
Legendary
*
Online Online

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 14, 2015, 08:07:20 AM
 #13751

Well that's the issue of updating bitcoind, not anything else.

What I mean by my reply is that your bitcoind version being updated and calling (the crappy slow) 0.11.2 getblocktemplate will produce the new v4 blocks.

That library is something separate that you'd not even need to take notice of unless you already use it directly (which it would seem almost no one does)

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

Activity: 938


View Profile WWW
November 14, 2015, 03:36:58 PM
 #13752

Well that's the issue of updating bitcoind, not anything else.

What I mean by my reply is that your bitcoind version being updated and calling (the crappy slow) 0.11.2 getblocktemplate will produce the new v4 blocks.

That library is something separate that you'd not even need to take notice of unless you already use it directly (which it would seem almost no one does)

Thanks Kano, I'll give it a try on my test mode next week....

TBH never heard of libblkmaker before this...

TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 15, 2015, 05:28:28 PM
 #13753

I'm going nuts trying to get this p2pool working.

I set up a clean install of Ubuntu 14.4 and updated.

Bitcoin client seems to be working ok.  I think I have the latest version now.

I installed p2pool with the following command:  git clone https://github.com/p2pool/p2pool.git

Installed python:  sudo apt-get install python-twisted python-argparse # should work on Ubuntu

I ran apt-get update and apt-get upgrade again to be sure I had latest.

I ran make and got some errors but continued on since someone said I did not actually need to run make.

When I try to run p2pool, I get the following when running:  python run_p2pool.py



This is just the tail end of my output.

2015-11-15 12:15:02.776585 >   File "/home/ttravis/p2pool/p2pool/bitcoin/worker_interface.py", line 129, in get_work
2015-11-15 12:15:02.776709 >     x, handler = self._inner.get_work(*args)
2015-11-15 12:15:02.776833 >   File "/home/ttravis/p2pool/p2pool/work.py", line 245, in get_work
2015-11-15 12:15:02.776957 >     raise jsonrpc.Error_for_code(-12345)(u'p2pool is downloading shares')
2015-11-15 12:15:02.777080 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is downloading shares
2015-11-15 12:15:02.778476 > Unhandled Error
2015-11-15 12:15:02.778645 > Traceback (most recent call last):
2015-11-15 12:15:02.778774 >   File "/home/ttravis/p2pool/p2pool/main.py", line 666, in run
2015-11-15 12:15:02.778900 >     reactor.run()
2015-11-15 12:15:02.779084 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-11-15 12:15:02.779215 >     self.mainLoop()
2015-11-15 12:15:02.779341 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-11-15 12:15:02.779468 >     self.runUntilCurrent()
2015-11-15 12:15:02.779592 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-11-15 12:15:02.779720 >     call.func(*call.args, **call.kw)
2015-11-15 12:15:02.779844 > --- <exception caught here> ---
2015-11-15 12:15:02.779968 >   File "/home/ttravis/p2pool/p2pool/bitcoin/stratum.py", line 38, in _send_work
2015-11-15 12:15:02.780095 >     x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-11-15 12:15:02.780221 >   File "/home/ttravis/p2pool/p2pool/bitcoin/worker_interface.py", line 129, in get_work
2015-11-15 12:15:02.780347 >     x, handler = self._inner.get_work(*args)
2015-11-15 12:15:02.780471 >   File "/home/ttravis/p2pool/p2pool/work.py", line 245, in get_work
2015-11-15 12:15:02.780596 >     raise jsonrpc.Error_for_code(-12345)(u'p2pool is downloading shares')
2015-11-15 12:15:02.780736 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is downloading shares
^C2015-11-15 12:15:05.010901 Lost peer 59.167.237.19:9333 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.011322 Lost peer 62.213.58.41:9333 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.012076 Lost peer 104.221.188.17:9333 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.012430 Lost peer 72.14.191.28:9333 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.013003 Lost peer 108.162.140.254:9333 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.013239 > in download_shares:
2015-11-15 12:15:05.013313 > Traceback (most recent call last):
2015-11-15 12:15:05.013378 > Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.013559 Requesting parent share a1ccf4d5 from 146.0.32.101:9340
2015-11-15 12:15:05.014878 Lost peer 146.0.32.101:9340 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2015-11-15 12:15:05.015161 > in download_shares:
2015-11-15 12:15:05.015237 > Traceback (most recent call last):
2015-11-15 12:15:05.015319 > Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.
ttravis@Bitcoin:~/p2pool$

Any advise would be appreciated.

Thanks in advance,

Tom Travis
TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 15, 2015, 05:31:34 PM
 #13754

make give me the following error....

Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ov3A2M/readline-6.2.4.1/egg-dist-tmp-HQIfcN
Modules/2.x/readline.c:8:20: fatal error: Python.h: No such file or directory
 #include "Python.h"
                    ^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
make: *** [/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-extras.tar.gz] Error 1
ttravis@Bitcoin:~/p2pool$
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266



View Profile
November 15, 2015, 05:36:32 PM
 #13755

You don't need python-argparse if you're running python 2.7 (which you will be with 14.04).

You do need  python-zope.interface python-twisted python-twisted-web.

Maybe that will help  Wink

You also don't need to make - just run it straight from the p2pool directory.
TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 15, 2015, 06:04:10 PM
 #13756

You don't need python-argparse if you're running python 2.7 (which you will be with 14.04).

You do need  python-zope.interface python-twisted python-twisted-web.

Maybe that will help  Wink

You also don't need to make - just run it straight from the p2pool directory.

I ran the following and am still getting errors like above:

ttravis@Bitcoin:~/p2pool$ sudo apt-get remove python-argparse
[sudo] password for ttravis:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libpython2.7-stdlib' instead of 'python-argparse'
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
ttravis@Bitcoin:~/p2pool$ sudo apt-get install python-zope.interface python-twisted python-twisted-web
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-twisted is already the newest version.
python-twisted-web is already the newest version.
python-twisted-web set to manually installed.
python-zope.interface is already the newest version.
python-zope.interface set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


Legov
Sr. Member
****
Offline Offline

Activity: 244


View Profile
November 15, 2015, 06:22:44 PM
 #13757

It seems to me that your p2pool node is up and running and is trying to make connections to other p2pool nodes in the internet. But it can not make any connection.
Set up your firewall or router or proxy to allow outgoing connections to any IP address and to port 9333.

“It is well enough that people of the nation do not understand our banking and money system, for if they did, I believe there would be a revolution before tomorrow morning.” Henry Ford, founder of the Ford Motor Company.
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266



View Profile
November 15, 2015, 06:24:28 PM
 #13758

You will get a lot of disconnects when first starting p2pool as many peers are dropped for using outdated p2pool software, as well as having to download the share chain. You also need to allow port 9333 through your firewall & router to the host running p2pool.

Just start it normally and wait a while - the errors will gradually stop as it settles & finds good nodes to download the chain from.
TTravis
Full Member
***
Offline Offline

Activity: 165


View Profile
November 15, 2015, 06:30:05 PM
 #13759

You will get a lot of disconnects when first starting p2pool as many peers are dropped for using outdated p2pool software, as well as having to download the share chain. You also need to allow port 9333 through your firewall & router to the host running p2pool.

Just start it normally and wait a while - the errors will gradually stop as it settles & finds good nodes to download the chain from.

Thanks,  will do.
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266



View Profile
November 15, 2015, 06:33:48 PM
 #13760

You will get a lot of disconnects when first starting p2pool as many peers are dropped for using outdated p2pool software, as well as having to download the share chain. You also need to allow port 9333 through your firewall & router to the host running p2pool.

Just start it normally and wait a while - the errors will gradually stop as it settles & finds good nodes to download the chain from.

Thanks,  will do.

No problem. It can be a little disconcerting when p2pool is started up for the first time, but as your node gradually downloads the chain the errors will stop - but it does take a while  Wink

Currently the share chain is at 17372 - you should see shares on your node gradually increasing.......
Pages: « 1 ... 638 639 640 641 642 643 644 645 646 647 648 649 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 ... 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!