Bitcoin Forum
March 19, 2024, 08:30:51 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 636 637 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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591571 times)
Maksio1
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 04, 2015, 03:47:41 PM
 #13701

Hey All,

Sorry for posting not a very relevant question to the topic but I am quite new with this stuff.

I restarted my p2pool recently and got 16 shares and been paid twice but my current payout says 000000 BTC and I was curious why that is.

Thanks
1710837051
Hero Member
*
Offline Offline

Posts: 1710837051

View Profile Personal Message (Offline)

Ignore
1710837051
Reply with quote  #2

1710837051
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710837051
Hero Member
*
Offline Offline

Posts: 1710837051

View Profile Personal Message (Offline)

Ignore
1710837051
Reply with quote  #2

1710837051
Report to moderator
1710837051
Hero Member
*
Offline Offline

Posts: 1710837051

View Profile Personal Message (Offline)

Ignore
1710837051
Reply with quote  #2

1710837051
Report to moderator
1710837051
Hero Member
*
Offline Offline

Posts: 1710837051

View Profile Personal Message (Offline)

Ignore
1710837051
Reply with quote  #2

1710837051
Report to moderator
nicklello
Member
**
Offline Offline

Activity: 193
Merit: 10


View Profile
November 04, 2015, 04:34:49 PM
 #13702

oh come on ... we don't have a mempool problem actually.

Code:
maxmempooltx=1200
minrelaytxfee=0.00000001

I use this (XT only for the first parameter).

Interesting... I'll run this setting on my laptop and compare the results.
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3068



View Profile
November 05, 2015, 10:04:26 AM
 #13703

Memory utilisation is high --- bitcoin is using ~12 Gb and p2pool is using ~3Gb (I was running under pypy but switched back to python to reduce memory usage).
Has anyone else experienced this situation; and what (if anything) can be done to get around it ?

First: in ~/.bitcoin/bitcoin.conf, add

Code:
minrelaytxfee=0.00005

oh come on ... we don't have a mempool problem actually.

Code:
maxmempooltx=1200
minrelaytxfee=0.00000001

I use this (XT only for the first parameter).

Bear in mind also that 0.12 will include a dynamic mempool adjuster, node operators can return to similar minrelay and minfee values to when tx flooding was not happening.

Vires in numeris
nicklello
Member
**
Offline Offline

Activity: 193
Merit: 10


View Profile
November 05, 2015, 12:16:13 PM
 #13704

Firstly, thankyou very much for the assist....

First: in ~/.bitcoin/bitcoin.conf, add

Code:
minrelaytxfee=0.00005

That will reject any transactions that don't include at least 0.05 mBTC/kb in fees. That should drop your mempool size from about 500 MB down to about 5 MB. This is necessary due to about 1 GB of spam that was sent about a month ago, plus the fact that 1 MB blocks just isn't enough any longer.
I had minrelaytxfee set to 0.00001 ; this probably made me wide open to the spam transactions.



Code:
export MALLOC_ARENA_MAX=1
in the same terminal (or bash session) that you use to start bitcoind. This is a workaround for an issue described here:

BitcoinXT will probably be switching over to jemalloc soon. Instead of the MALLOC_ARENA_MAX=1 fix, you can also try using jemalloc if you prefer.
Code:
sudo apt-get install libjemalloc libjemalloc-dev

Then, when you want to run bitcoind,

Code:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so ./bitcoind -daemon

I had already employed MALLOC_ARENA_MAX which didn't seem to help much (again, I think the spam hit me) ---  however I've switched to preloading libjemalloc WITHOUT the MALLOC_ARENA_MAX setting.

Early indications are that these 2 changes are drastically reducing my memory usage.

Am looking forward to the getblocktemplate enhancements...


24 hours on with these settings and things look fantastic.. RSS usage is staying around the 1Gb mark (total memory ~5Gb) and I have not had any of the issues (RPC delays etc).

Just need to get that getwork/getblocktemplate latency down.; but that's a 'nice to have'.
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
November 05, 2015, 03:51:14 PM
 #13705

Bear in mind also that 0.12 will include a dynamic mempool adjuster.

i want this !
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1005


View Profile WWW
November 06, 2015, 07:24:15 AM
Last edit: November 06, 2015, 07:49:26 AM by jtoomim
 #13706

First: in ~/.bitcoin/bitcoin.conf, add

Code:
minrelaytxfee=0.00005

oh come on ... we don't have a mempool problem actually.

Code:
maxmempooltx=1200
minrelaytxfee=0.00000001

I use this (XT only for the first parameter).

No, for mining it's better to use minrelaytxfee=0.00005 or so and not use Gavin's random eviction code too heavily. If you do, especially with a threshold of 1200 txns, you'll lose a lot of fees, and you'll include a lot of those nasty 14790 byte 0.00015 fee spam transactions that were broadcast at the beginning of October.

The new evictRandomBytewise code is much better for mining (https://github.com/bitcoinxt/bitcoinxt/pull/89/), since it mostly evicts large low-fee transactions, but it isn't in any releases yet (or even merged into master -- still waiting for testing results from people other than me). I've found maxmempoolbytes=5000000 (5 MB of mempool usage, or about 1.8 MB of blocksize) to be pretty decent for now, and I use that on http://74.82.233.205:9332.

Keep in mind that the use of random eviction code may mess up the Relay Network's effectiveness.

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

Activity: 3430
Merit: 3068



View Profile
November 06, 2015, 09:25:35 AM
Last edit: November 06, 2015, 10:13:20 PM by Carlton Banks
 #13707

Bear in mind also that 0.12 will include a dynamic mempool adjuster.

i want this !

Bear in mind also that several devs have taken several months to come to a consensus about the design approach for the new 0.12 mempool limiter. It's a fairly refined solution, which is why I say that everyone will be able to return to min relay and min fee settings similar to pre-flooding values once 0.12 is available.

Vires in numeris
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
November 06, 2015, 09:53:27 PM
 #13708

No, for mining it's better to use minrelaytxfee=0.00005 or so and not use Gavin's random eviction code too heavily. If you do, especially with a threshold of 1200 txns, you'll lose a lot of fees, and you'll include a lot of those nasty 14790 byte 0.00015 fee spam transactions that were broadcast at the beginning of October.

you thinks like that ... but i think in other way : network need to transmit transactions.
we have plenty of bitcoin core that they officially filtered (non-relay) the transactions ... i don't love this.
i want a fairplay network open to others.

spam filter need to activate ONLY because we have spam ... and upper the fee strategic with FIXED value is a non-intelligent solution for me.

i prefer purge my mempool (because mempool is shared between each nodes) when it requiert more CPU (every day, i change the limit from 1200 to 800 from the past CPU monitoring time) and not implemente fee filter.

long chain win ... don't loose this goal.
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
November 10, 2015, 04:59:45 PM
 #13709

I'm here still thinking maybe we have cutting low-fee transactions on nodes for nothing?
mintxfee=0.00001
minrelaytxfee=0.00001
Someone cuts more.
Maybe we should not reject the blocks with a low-fee transactions with these cuts?
But everyone turned these parameters on because afraid of spam.
Do I understand correctly? Transactions go with the block and if we have limited low-fee transactions - the block goes to other pool which is not limited these sums.
You can refuse these limitations when used pypy and reduce the ammount of connections due to the relay network.

notbatman
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
November 10, 2015, 05:16:50 PM
 #13710

I'm here still thinking maybe we have cutting low-fee transactions on nodes for nothing?
mintxfee=0.00001
minrelaytxfee=0.00001
Someone cuts more.
Maybe we should not reject the blocks with a low-fee transactions with these cuts?
But everyone turned these parameters on because afraid of spam.
Do I understand correctly? Transactions go with the block and if we have limited low-fee transactions - the block goes to other pool which is not limited these sums.
You can refuse these limitations when used pypy and reduce the ammount of connections due to the relay network.

The tx fees currently add up to not much however, the higher you set the tx fee the more money miners get when the pool finds a block i.e. a block full of 10 satoshi spam transactions vs. a block full of 0.0005 BTC transactions. Since the fees add up to so little it currently matters not if the block is empty or full.

Also, the tx fee has nothing to do with blocks going to other pools, your understanding of the Bitcoin protocol is incorrect in that regards.
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
November 10, 2015, 05:56:39 PM
 #13711

I'm here still thinking maybe we have cutting low-fee transactions on nodes for nothing?
mintxfee=0.00001
minrelaytxfee=0.00001
Someone cuts more.
Maybe we should not reject the blocks with a low-fee transactions with these cuts?
But everyone turned these parameters on because afraid of spam.
Do I understand correctly? Transactions go with the block and if we have limited low-fee transactions - the block goes to other pool which is not limited these sums.
You can refuse these limitations when used pypy and reduce the ammount of connections due to the relay network.

The tx fees currently add up to not much however, the higher you set the tx fee the more money miners get when the pool finds a block i.e. a block full of 10 satoshi spam transactions vs. a block full of 0.0005 BTC transactions. Since the fees add up to so little it currently matters not if the block is empty or full.

Also, the tx fee has nothing to do with blocks going to other pools, your understanding of the Bitcoin protocol is incorrect in that regards.
I see that the block includes transaction, or does it mean something else:
Quote
2015-11-10 23:39:21.175614 New work for worker! Difficulty: 5934.627313 Share difficulty: 10661044.589070 Total block value: 25.204985 BTC including 1259 transactions
Quote
2015-11-10 23:40:07.750110 New work for worker! Difficulty: 3965.507154 Share difficulty: 7407297.860059 Total block value: 25.213353 BTC including 1293 transactions
Rejecting these transactions I do not receive a share containing the transaction.

notbatman
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
November 10, 2015, 07:02:58 PM
 #13712

I'm here still thinking maybe we have cutting low-fee transactions on nodes for nothing?
mintxfee=0.00001
minrelaytxfee=0.00001
Someone cuts more.
Maybe we should not reject the blocks with a low-fee transactions with these cuts?
But everyone turned these parameters on because afraid of spam.
Do I understand correctly? Transactions go with the block and if we have limited low-fee transactions - the block goes to other pool which is not limited these sums.
You can refuse these limitations when used pypy and reduce the ammount of connections due to the relay network.

The tx fees currently add up to not much however, the higher you set the tx fee the more money miners get when the pool finds a block i.e. a block full of 10 satoshi spam transactions vs. a block full of 0.0005 BTC transactions. Since the fees add up to so little it currently matters not if the block is empty or full.

Also, the tx fee has nothing to do with blocks going to other pools, your understanding of the Bitcoin protocol is incorrect in that regards.
I see that the block includes transaction, or does it mean something else:
Quote
2015-11-10 23:39:21.175614 New work for worker! Difficulty: 5934.627313 Share difficulty: 10661044.589070 Total block value: 25.204985 BTC including 1259 transactions
Quote
2015-11-10 23:40:07.750110 New work for worker! Difficulty: 3965.507154 Share difficulty: 7407297.860059 Total block value: 25.213353 BTC including 1293 transactions
Rejecting these transactions I do not receive a share containing the transaction.

I'm not sure I can explain this properly to you but, the higher you set your tx fee and the more little spam transactions you reject the bigger the blocks (in terms of BTC) your miner mines will be.

An analogy:

You've got an unlimited supply of wax beads. And the beads come in two sizes 10mm and 1cm. Lets say the standard for a wax ball is 100 beads squished together and the wax ball vendor who buys standard wax balls pays for them by the gram.

If you just grab a handful of wax beads at random and count out 100 of them you'll get a mix of big and small ones and you'll end up with a wax ball that's a lot lighter than if you just picked out the large beads and squished 100 of them together.

Now would you rather sell the wax ball vendor a light ball or a heavy one? remember the vendor pays by the gram.
TTravis
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
November 11, 2015, 03:34:03 PM
 #13713

I am having trouble installing p2pool.

I still consider myself to be a beginner with Linux.
I am trying to do this on a Dell Percision 390 desktop with 8GB memory and plenty big drive.
I have more memory and SSD on order but hope this will do for now.
I have a T1 connection to the Internet.
I am running Linux Mint 64 bit version 17.2 and KDE desktop.

I am currently running Bitcoin Core on this same machine.

I believe I did all the preparations:

apt-get install python-twisted python-argparse # should work on Ubuntu
apt-get update
apt-get upgrade

I am looking at Linux instructions on http://p2pool.in/

-------------------------------------------
sudo apt-get install git # if git is not installed
git clone https://github.com/forrestv/p2pool.git
cd p2pool
make
----------------------------------------------

First attempt did not work with exit error message, so I did "rm -rf p2pool" to try again.

I read in earlier post that git clone https://github.com/forrestv/p2pool.git   

should now be changed to:  git clone https://github.com/p2pool/p2pool.git

So I tried again with following:
-------------------------------------------
sudo apt-get install git # if git is not installed
git clone https://github.com/p2pool/p2pool.git
cd p2pool
make
----------------------------------------------

Both ways, I get same output:

ttravis@ttravis-Precision-WorkStation-390:~ > git clone https://github.com/p2pool/p2pool.git 
Cloning into 'p2pool'...
remote: Counting objects: 9407, done.
remote: Total 9407 (delta 0), reused 0 (delta 0), pack-reused 9407
Receiving objects: 100% (9407/9407), 3.72 MiB | 135.00 KiB/s, done.
Resolving deltas: 100% (5927/5927), done.
Checking connectivity... done.
ttravis@ttravis-Precision-WorkStation-390:~ > cd p2pool
ttravis@ttravis-Precision-WorkStation-390:~/p2pool > make
mkdir -p "/home/ttravis/p2pool/.cache"/pyenv
curl -L 'https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz' >'/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz' || { rm -f '/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz'; exit 1; }
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1572k  100 1572k    0     0   136k      0  0:00:11  0:00:11 --:--:--  149k
rm -rf "/home/ttravis/p2pool/.pyenv"
mkdir -p "/home/ttravis/p2pool/.pyenv"
# virtualenv is used to create a separate Python installation
# for this project in /home/ttravis/p2pool/.pyenv.
tar \
            -C "/home/ttravis/p2pool/.cache"/pyenv --gzip \
            -xf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6.tar.gz
python "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6/virtualenv.py \
            --clear \
            --distribute \
            --never-download \                                                                                                                                                     
            --prompt="(p2pool) " \                                                                                                                                                 
            "/home/ttravis/p2pool/.pyenv"                                                                                                                                           
Not deleting /home/ttravis/p2pool/.pyenv/bin                                                                                                                                       
New python executable in /home/ttravis/p2pool/.pyenv/bin/python                                                                                                                     
Installing setuptools, pip...done.                                                                                                                                                 
rm -rf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6                                                                                                                       
# Snapshot the Python environment                                                                                                                                                   
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -cf "/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-base.tar.gz" .                                                                     
rm -rf "/home/ttravis/p2pool/.pyenv"                                                                                                                                               
rm -rf "/home/ttravis/p2pool/.pyenv"                                                                                                                                               
mkdir -p "/home/ttravis/p2pool/.pyenv"                                                                                                                                             
mkdir -p "/home/ttravis/p2pool/.cache"/pypi                                                                                                                                         
# Uncompress saved Python environment                                                                                                                                               
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -xf "/home/ttravis/p2pool/.cache"/pyenv/pyenv-1.11.6-base.tar.gz                                                                       
find "/home/ttravis/p2pool/.pyenv" -not -type d -print0 >"/home/ttravis/p2pool"/.pkglist                                                                                           
# readline is installed here to get around a bug on Mac OS X                                                                                                                       
# which is causing readline to not build properly if installed                                                                                                                     
# from pip, and the fact that a different package must be used                                                                                                                     
# to support it on Windows/Cygwin.                                                                                                                                                 
if [ "x`uname -s`" = "xCygwin" ]; then \                                                                                                                                           
            "/home/ttravis/p2pool/.pyenv"/bin/pip install pyreadline; \                                                                                                             
        else \                                                                                                                                                                     
            "/home/ttravis/p2pool/.pyenv"/bin/easy_install readline; \                                                                                                             
        fi                                                                                                                                                                         
Searching for readline                                                                                                                                                             
Reading https://pypi.python.org/simple/readline/                                                                                                                                   
Best match: readline 6.2.4.1                                                                                                                                                       
Downloading https://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#md5=578237939c81fdbc2c8334d168b17907                                                         
Processing readline-6.2.4.1.tar.gz                                                                                                                                                 
Writing /tmp/easy_install-eO9jSr/readline-6.2.4.1/setup.cfg                                                                                                                         
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eO9jSr/readline-6.2.4.1/egg-dist-tmp-nxOplh                                                             
/usr/bin/ld: cannot find -lncurses                                                                                                                                                 
collect2: error: ld returned 1 exit status                                                                                                                                         
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@ttravis-Precision-WorkStation-390:~/p2pool >
_______________________________

Where am I going wrong?

Thanks in advance.  If I get this working, I hope to put 150TH on p2pool and see how it does.

Tom Travis
notbatman
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
November 11, 2015, 03:44:43 PM
 #13714

I am having trouble installing p2pool.

I still consider myself to be a beginner with Linux.
I am trying to do this on a Dell Percision 390 desktop with 8GB memory and plenty big drive.
I have more memory and SSD on order but hope this will do for now.
I have a T1 connection to the Internet.
I am running Linux Mint 64 bit version 17.2 and KDE desktop.

I am currently running Bitcoin Core on this same machine.

I believe I did all the preparations:

apt-get install python-twisted python-argparse # should work on Ubuntu
apt-get update
apt-get upgrade

I am looking at Linux instructions on http://p2pool.in/

-------------------------------------------
sudo apt-get install git # if git is not installed
git clone https://github.com/forrestv/p2pool.git
cd p2pool
make
----------------------------------------------

First attempt did not work with exit error message, so I did "rm -rf p2pool" to try again.

I read in earlier post that git clone https://github.com/forrestv/p2pool.git   

should now be changed to:  git clone https://github.com/p2pool/p2pool.git

So I tried again with following:
-------------------------------------------
sudo apt-get install git # if git is not installed
git clone https://github.com/p2pool/p2pool.git
cd p2pool
make
----------------------------------------------

Both ways, I get same output:

ttravis@ttravis-Precision-WorkStation-390:~ > git clone https://github.com/p2pool/p2pool.git 
Cloning into 'p2pool'...
remote: Counting objects: 9407, done.
remote: Total 9407 (delta 0), reused 0 (delta 0), pack-reused 9407
Receiving objects: 100% (9407/9407), 3.72 MiB | 135.00 KiB/s, done.
Resolving deltas: 100% (5927/5927), done.
Checking connectivity... done.
ttravis@ttravis-Precision-WorkStation-390:~ > cd p2pool
ttravis@ttravis-Precision-WorkStation-390:~/p2pool > make
mkdir -p "/home/ttravis/p2pool/.cache"/pyenv
curl -L 'https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz' >'/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz' || { rm -f '/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz'; exit 1; }
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1572k  100 1572k    0     0   136k      0  0:00:11  0:00:11 --:--:--  149k
rm -rf "/home/ttravis/p2pool/.pyenv"
mkdir -p "/home/ttravis/p2pool/.pyenv"
# virtualenv is used to create a separate Python installation
# for this project in /home/ttravis/p2pool/.pyenv.
tar \
            -C "/home/ttravis/p2pool/.cache"/pyenv --gzip \
            -xf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6.tar.gz
python "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6/virtualenv.py \
            --clear \
            --distribute \
            --never-download \                                                                                                                                                     
            --prompt="(p2pool) " \                                                                                                                                                 
            "/home/ttravis/p2pool/.pyenv"                                                                                                                                           
Not deleting /home/ttravis/p2pool/.pyenv/bin                                                                                                                                       
New python executable in /home/ttravis/p2pool/.pyenv/bin/python                                                                                                                     
Installing setuptools, pip...done.                                                                                                                                                 
rm -rf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6                                                                                                                       
# Snapshot the Python environment                                                                                                                                                   
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -cf "/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-base.tar.gz" .                                                                     
rm -rf "/home/ttravis/p2pool/.pyenv"                                                                                                                                               
rm -rf "/home/ttravis/p2pool/.pyenv"                                                                                                                                               
mkdir -p "/home/ttravis/p2pool/.pyenv"                                                                                                                                             
mkdir -p "/home/ttravis/p2pool/.cache"/pypi                                                                                                                                         
# Uncompress saved Python environment                                                                                                                                               
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -xf "/home/ttravis/p2pool/.cache"/pyenv/pyenv-1.11.6-base.tar.gz                                                                       
find "/home/ttravis/p2pool/.pyenv" -not -type d -print0 >"/home/ttravis/p2pool"/.pkglist                                                                                           
# readline is installed here to get around a bug on Mac OS X                                                                                                                       
# which is causing readline to not build properly if installed                                                                                                                     
# from pip, and the fact that a different package must be used                                                                                                                     
# to support it on Windows/Cygwin.                                                                                                                                                 
if [ "x`uname -s`" = "xCygwin" ]; then \                                                                                                                                           
            "/home/ttravis/p2pool/.pyenv"/bin/pip install pyreadline; \                                                                                                             
        else \                                                                                                                                                                     
            "/home/ttravis/p2pool/.pyenv"/bin/easy_install readline; \                                                                                                             
        fi                                                                                                                                                                         
Searching for readline                                                                                                                                                             
Reading https://pypi.python.org/simple/readline/                                                                                                                                   
Best match: readline 6.2.4.1                                                                                                                                                       
Downloading https://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#md5=578237939c81fdbc2c8334d168b17907                                                         
Processing readline-6.2.4.1.tar.gz                                                                                                                                                 
Writing /tmp/easy_install-eO9jSr/readline-6.2.4.1/setup.cfg                                                                                                                         
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eO9jSr/readline-6.2.4.1/egg-dist-tmp-nxOplh                                                             
/usr/bin/ld: cannot find -lncurses                                                                                                                                                 
collect2: error: ld returned 1 exit status                                                                                                                                         
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@ttravis-Precision-WorkStation-390:~/p2pool >
_______________________________

Where am I going wrong?

Thanks in advance.  If I get this working, I hope to put 150TH on p2pool and see how it does.

Tom Travis


It says you're missing ncurses, you can try:

make clean
sudo apt-get install libncurses5-dev libncursesw5-dev
make
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3068



View Profile
November 11, 2015, 04:24:19 PM
 #13715

I am running Linux Mint 64 bit version 17.2 and KDE desktop.

It's possible that you might want to do a search on the latest built-in user data gathering that Mint implements. Last time I checked, Mint was off-putting to me because the standard Mint Firefox package has a load of that type of stuff, can't remember the details, but it was enough to make me want to use Debian for a p2pool platform. Almost everything will be very similar (or the same) in practice when using Debian, as Mint is just a forked version of the latest version of Ubuntu (which itself is a forked version of Debian).

Vires in numeris
TTravis
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
November 11, 2015, 04:32:42 PM
 #13716

Quote

It says you're missing ncurses, you can try:

make clean
sudo apt-get install libncurses5-dev libncursesw5-dev
make

I tried this and this is the tail end of the output:

---------------------------------------------------
File "/home/ttravis/p2pool/.pyenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 822, in install_eggs

    return self.build_and_install(setup_script, setup_base)

  File "/home/ttravis/p2pool/.pyenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1028, in build_and_install

    self.run_setup(setup_script, setup_base, args)

  File "/home/ttravis/p2pool/.pyenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1016, in run_setup

    raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /home/ttravis/p2pool/.pyenv/bin/python -c "import setuptools, tokenize;__file__='/home/ttravis/p2pool/.pyenv/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-TzZVff-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ttravis/p2pool/.pyenv/include/site/python2.7 failed with error code 1 in /home/ttravis/p2pool/.pyenv/build/cryptography
Storing debug log for failure in /home/ttravis/.pip/pip.log
make: *** [/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-extras.tar.gz] Error 1


I am thinking about giving up on Mint and just starting over with Ubuntu or straight Debin

Any other suggestions before I dump this and start over?

Thanks in advance,

Tom Travis
notbatman
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
November 11, 2015, 04:36:35 PM
 #13717

It's called 'ncurses-dev' on Mint I believe, try:

sudo apt-get install ncurses-dev

forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
November 11, 2015, 06:17:59 PM
 #13718

TTravis: You don't actually need to run make. It's not even mentioned in the README. It's only there for assisting development. Just run ./run_p2pool.py.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3068



View Profile
November 11, 2015, 09:20:13 PM
 #13719

TTravis: You don't actually need to run make. It's not even mentioned in the README. It's only there for assisting development. Just run ./run_p2pool.py.

Forgive me if I'm wrong, but is that not what you supply as an argument to the python command? I recall doing:  python ./run_p2pool.py

Vires in numeris
notbatman
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
November 11, 2015, 09:29:43 PM
 #13720

I run p2pool via the .py script myself however, the version number displays as "666f7272657374762d7032706f6f6c2d66616431653163". I haven't taken the time to look into why it's behaving like this vs. the compiled version as it doesn't affect mining at all. If somebody has a quick answer and fix I'd be interested to know.
Pages: « 1 ... 636 637 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 ... 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!