Bitcoin Forum
May 20, 2018, 10:22:30 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 [786] 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2558929 times)
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 19, 2017, 12:37:49 AM
 #15701

The file cannot be accessed because it is being used by another process? Maybe something is running which is using that file, or maybe it crashed uncleanly and left that file open. Try closing everything, rebooting, and trying again?

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
1526854950
Hero Member
*
Offline Offline

Posts: 1526854950

View Profile Personal Message (Offline)

Ignore
1526854950
Reply with quote  #2

1526854950
Report to moderator
1526854950
Hero Member
*
Offline Offline

Posts: 1526854950

View Profile Personal Message (Offline)

Ignore
1526854950
Reply with quote  #2

1526854950
Report to moderator
1526854950
Hero Member
*
Offline Offline

Posts: 1526854950

View Profile Personal Message (Offline)

Ignore
1526854950
Reply with quote  #2

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

Posts: 1526854950

View Profile Personal Message (Offline)

Ignore
1526854950
Reply with quote  #2

1526854950
Report to moderator
1526854950
Hero Member
*
Offline Offline

Posts: 1526854950

View Profile Personal Message (Offline)

Ignore
1526854950
Reply with quote  #2

1526854950
Report to moderator
Xantus
Jr. Member
*
Offline Offline

Activity: 43
Merit: 0


View Profile
August 19, 2017, 08:22:27 AM
 #15702

The file cannot be accessed because it is being used by another process? Maybe something is running which is using that file, or maybe it crashed uncleanly and left that file open. Try closing everything, rebooting, and trying again?

Reboot done. same problem. i also retryed to install it again manualy by downloading twisterd-17.5.0.tar.bz, extracting direkt to pypy directory and running setup.
here is the output :
Code:
C:\pypy2-v5.8.0-win32>pypy C:\pypy2-v5.8.0-win32\Twisted-17.5.0\setup.py install
Traceback (most recent call last):
  File "C:\pypy2-v5.8.0-win32\Twisted-17.5.0\setup.py", line 17, in <module>
    with open('src/twisted/python/_setup.py') as f:
IOError: [Errno 2] No such file or directory: 'src/twisted/python/_setup.py'

C:\pypy2-v5.8.0-win32>pypy C:\pypy2-v5.8.0-win32\Twisted-17.5.0\setup.py
Traceback (most recent call last):
  File "C:\pypy2-v5.8.0-win32\Twisted-17.5.0\setup.py", line 17, in <module>
    with open('src/twisted/python/_setup.py') as f:
IOError: [Errno 2] No such file or directory: 'src/twisted/python/_setup.py'
interesting here ist that "src/twisted/python/_setup.py" is there ... is not missing !?
but wath du tell me these line : "with open('src/twisted/python/_setup.py') as f:"  i do have no disk drive f:
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 19, 2017, 10:39:50 PM
 #15703

I tried installing pypy/p2pool on Windows a try myself, and while I got a bit farther than you did by installing twisted from source, I eventually ran into a roadblock because twisted requires pywin32 on Windows and pypy does not support pywin32.

However, I had better luck when I tried to run p2pool with pypy on the Windows Subsystem for Linux (Ubuntu for Windows). If you have Windows 10, I suggest you give that a try:

https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

Once you have Ubuntu for Windows installed, run bash and then copy-paste these lines into your bash command line:

Code:
sudo apt-get update
sudo apt-get install pypy pypy-dev pypy-setuptools gcc build-essential git

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

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*

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*

git clone https://github.com/jtoomim/p2pool.git
cd p2pool
git checkout 1mb_segwit

Those commands should also work if you're on native Ubuntu or Debian Linux

You'll also need to install and run your bitcoind of choice (I recommend btc1, because I think segwit2x is the future of Bitcoin) and edit ~/.bitcoin/bitcoin.conf with your bitcoind's RPC username and password (or pass it to p2pool from the pypy run_p2pool.py command line), then from your p2pool directory, run

Code:
pypy run_p2pool.py

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
sawa
Legendary
*
Offline Offline

Activity: 1268
Merit: 1005



View Profile
August 19, 2017, 11:24:52 PM
 #15704

I recommend btc1, because I think segwit2x is the future of Bitcoin...
Is it its source code?: https://github.com/btc1/bitcoin

frodocooper
Moderator
Full Member
*
Offline Offline

Activity: 214
Merit: 262


View Profile
August 19, 2017, 11:44:14 PM
 #15705

You'll also need to install and run your bitcoind of choice (I recommend btc1, because I think segwit2x is the future of Bitcoin) and edit ~/.bitcoin/bitcoin.conf with your bitcoind's RPC username and password (or pass it to p2pool from the pypy run_p2pool.py command line)...

In addition, I highly recommend adding the following two lines to your bitcoin.conf:

Code:
blockmaxsize=1000000
blockmaxweight=4000000

This enables your P2Pool node to mine full blocks. I'm not sure if btc1 changed its defaults, but on Bitcoin Core the default blockmaxsize and blockmaxweight values are 750 kB and 3 MB respectively, meaning that if you left your bitcoind to its defaults, your P2Pool node would be mining artificially smaller blocks.

If you decide to use the btc1 (SegWit2x) client, simply double the above values after the 2x hard fork.

Also, I highly recommend connecting your bitcoind to the public FIBRE network. This helps your bitcoind to be notified of new blocks as quickly as possible. And if your P2Pool node finds a new block, this helps propagate the newfound block to the Bitcoin network as quickly as possible, reducing the chances of that newfound block being orphaned.

Instructions for connecting your bitcoind to the public FIBRE network can be found here.



I recommend btc1, because I think segwit2x is the future of Bitcoin...
Is it its source code?: https://github.com/btc1/bitcoin

Yes.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 12:23:28 AM
 #15706

Is it its source code?: https://github.com/btc1/bitcoin
And binary releases are here: https://github.com/btc1/bitcoin/releases

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 01:50:27 AM
 #15707

I'm working on adding fork-friendliness to p2pool now. It's a bit more complicated than I thought at first. You can't just check to see if a share's parentblock is in bitcoind's blockchain and mark the share invalid if not, because orphaned blocks are a thing. Instead, I will be trying to keep a penalty score for each share, where each share's penalty is the previous share's penalty plus 0 if the parentblock is found in the blockchain else the work done if the parentblock is not in the blockchain (i.e. orphan or invalid). P2pool will then look for the share with the greatest (work - penalty). That description is slightly oversimplified, but I hope it gets the main idea across.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 09:06:35 AM
 #15708

I will be upgrading all of my nodes to 1mb_segwit tomorrow. I suggest that anyone mining on jtoomimnet switch to the 1mb_segwit branch ASAP.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
keke51
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 20, 2017, 11:55:47 AM
 #15709

Dear community! And esp MR Jtoomim!
I bet i'm not alone in willing to have a BCH (or BCC) sort of fork of P2pool. Is it real? I am not a coding person, but BCH is not far from the original BTC and maybe it is not so big work to do?
dimkov
Jr. Member
*
Offline Offline

Activity: 45
Merit: 0


View Profile
August 20, 2017, 12:12:54 PM
 #15710

Dear community! And esp MR Jtoomim!
I bet i'm not alone in willing to have a BCH (or BCC) sort of fork of P2pool. Is it real? I am not a coding person, but BCH is not far from the original BTC and maybe it is not so big work to do?
Join in the keke51. The complexity of the network BCH falls, the price increases. Ideal conditions for mining BCH. Really need P2pool BCH.
Cryptonomist
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 20, 2017, 02:53:37 PM
 #15711


Ok, thank you. This solved the problem.

I've got another question about p2pool. I'm fairly new to mining using p2pool, so the current situation with the different forks is a bit confusing. As I understand it from the posts on this forum and the output of jtoomim's 1mb_segwit p2pool, jtoomim's fork follows segwit2x, which will be a hardfork of the bitcoin blockchain in november. I'm in favor of segwit but not of segwit2x. So I would rather not mine on a p2pool fork that supports segwit2x. As I understand it the current version of forrestv p2pool's does not support segwit. That's the version I use currently for mining. However I see that veqtrus wrote a commit that supports segwit but not segwit2x. So my question is the folowing. Is there a plan in the foreseeable future to merge forrestv's version and veqtrus's commit, so that I just need to do a git pull to have a a p2pool version that supports segwit?  Or, is forrestv's version going to merge with jtoomim's version, so that I will be forced to chose for segwit2x anyway?

Thank you.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 07:27:50 PM
 #15712

jtoomimnet (via the 1mb_segwit branch) follows segwit for the next two months. I am working on code that will make jtoomimnet split into a segwit chain and a segwit2x chain automatically once the fork happens. This code will also be required for supporting Bitcoin Cash, which is my immediate goal.

Supporting Bitcoin Cash is likely to require some p2pool performance improvements as well, as the current codebase struggles with 1MB blocks, much less 8MB. I hope to have Bitcoin Cash working by the end of the weekend as long as you have a high-end server. I'll try to get the needed performance improvements afterwards.

Quote
I will be forced to chose for segwit2x anyway?
It is not my goal to force anyone to do anything. As long as you are aware of the risks of mining on a minority chain, you are welcome to do so. I don't want people to mine on the minority chain due to ignorance, but as long as people know what they're doing, it's fine with me.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Xantus
Jr. Member
*
Offline Offline

Activity: 43
Merit: 0


View Profile
August 20, 2017, 07:31:24 PM
 #15713

isent it posible to compile an P2Pool exe File for windows ?  Huh
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 07:55:12 PM
 #15714

Not with pypy. Until I get the performance good enough so that regular CPython will work for p2pool without high DOA rates on common CPUs, pypy will be necessary, and making EXEs will not be a good idea.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 20, 2017, 10:09:46 PM
 #15715

Sigh, more p2pool drama between me and veqtrus:

https://www.reddit.com/r/Bitcoin/comments/6uweb7/p2pool_upgrade_for_segwit_compatibility/

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 21, 2017, 09:44:13 PM
 #15716

I goofed and set one of my nodes' bitcoinds to prune its blockchain. Apparently p2pool requires that the genesis block be unpruned, and will fail to start if pruning is enabled. Oops. ml.toom.im:9334 will be down for a couple more hours as I resync the blockchain. It's up to block 415543 so far, so it shouldn't be too much longer. If anyone was mining onto ml.toom.im:9334, sorry.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 22, 2017, 12:36:22 AM
 #15717

Support for v33 (Segwit) shares on jtoomimnet is at around 97% over the last few hours. Anyone still in the 3% who hasn't upgraded will be forked off very soon.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 23, 2017, 06:50:29 AM
 #15718

People who do not want to use jtoomimnet should use the segwit PR against the main repo as segwit will activate in less than a day.

https://github.com/veqtrus/p2pool/releases/tag/16.1-segwit

ForrestV seems to be inactive.

P2Pool donation button | Bitrated user: veqtrus.
Cluster2k
Legendary
*
Offline Offline

Activity: 1794
Merit: 1016


www.coincaps.ai


View Profile WWW
August 23, 2017, 11:50:34 AM
 #15719

Node address (Original code): http://btc.coinpool.pw:9332
Node address (Forked code): http://btc-fork.coinpool.pw:9334

To connect to me: run_p2pool.py -n btc-fork.coinpool.pw:9335
CPU: i7-3770 @ 3.40GHz
RAM: 16GB
Pipe: 1Gbit Hetzner Germany, DC#19
Using: Pypy 5.7.1 @ Ubuntu 16.04

Both nodes has integrated pull request with adaptive variable difficulty so are suitable for mining by many different ASICs at one time.

Also i've implemented scanner for public P2Pool nodes (both original and forked ones!) at https://p2pool.coinpool.pw/

I recommend using this pool, the guy is very skilled and honest.


           ▄▄▄██████▄▄▄
       ▄▄███████▀▀███████▄▄
     ▄██████▀▀      ▀▀██████▄
   ▄████▀▀              ▀▀████▄
  ████        ▄▄███▄▄       ████
 ▐████      ▄█████████▄     ████▌
 █████     ████▀   ▀▀█▀     █████
 █████    ▐███              █████
 █████    ▐███▄      ▄      █████
 █████     ▀████▄▄▄████     █████
 ▐████       ▀███████▀      ████▌
  ▀███▄▄        ▀▀▀       ▄▄███▀
    ▀█████▄▄          ▄▄█████▀
      ▀███████▄▄  ▄▄███████▀
         ▀▀████████████▀▀
              ▀▀▀▀▀▀

                       ████
                       ▄▀██
                     ▄█▀   ▄▄▄▄▄
                   ▄█▀    ███████
                 ▄█▀      ███████
               ▄█▀        ███████
     ▀█▄▄    ▄█▀  ▄█████▄ ███████
        ▀▀█▄█▀    ███████ ███████
  ▄█████▄         ███████ ███████
  ███████ ▄█████▄ ███████ ███████
  ███████ ███████ ███████ ███████
  ███████ ███████ ███████ ███████
  ███████ ███████ ███████ ███████
  ███████ ███████ ███████ ███████
  ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀
▀█████████████████████████████████▀
sawa
Legendary
*
Offline Offline

Activity: 1268
Merit: 1005



View Profile
August 23, 2017, 01:30:25 PM
 #15720

What wallet do you recommend to use with this version of the p2pool?

Pages: « 1 ... 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 [786] 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 »
  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!