frodocooper
|
|
August 31, 2017, 06:07:15 AM Last edit: December 25, 2017, 05:06:22 AM by frodocooper |
|
Here is a more elegant way of getting PyPy up and running for jtoomimnet P2Pool on Ubuntu 16.04 and later. 1. Add the PyPy PPA. (The PyPy in the PPA is more frequently updated than the PyPy in Ubuntu's package repository.) $ sudo add-apt-repository ppa:pypy/ppa $ sudo apt-get update
2. Install PyPy and other dependencies. $ sudo apt-get install pypy pypy-dev gcc build-essential git
3. Install pip. $ wget https://bootstrap.pypa.io/get-pip.py $ sudo pypy get-pip.py $ sudo rm -rf get-pip.py
4. Update pip, setuptools, and wheel. $ sudo pypy -m pip install --upgrade pip setuptools wheel
5. Install Twisted, zope.interface, and incremental. $ sudo pypy -m pip install twisted zope.interface incremental
6. Download the 1mb_segwit branch of jtoomimnet P2Pool. $ git clone https://github.com/jtoomim/p2pool.git $ cd p2pool $ git checkout 1mb_segwit
7. Run P2Pool. For a list of jtoomimnet P2Pool command-line options: $ pypy run_p2pool.py --help
Using pip to install third-party Python packages (e.g., Twisted, zope.interface, and incremental), instead of downloading and installing them directly, enables cleaner installs and uninstalls, and simpler and faster updating of the packages. For example, (a) to update Twisted, zope.interface, and incremental: $ sudo pypy -m pip install --upgrade twisted zope.interface incremental
(b) to remove Twisted, zope.interface, and incremental (if you no longer need them): $ sudo pypy -m pip uninstall twisted zope.interface incremental
A list of handy pip commands may be found here. A more comprehensive guide to using pip may be found here.
|
|
|
|
|
|
|
"The nature of Bitcoin is such that once version 0.1 was released, the
core design was set in stone for the rest of its lifetime." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
tubexc
|
|
August 31, 2017, 07:35:03 AM |
|
Nice post frodo Now translating this to C ( Windows), That's another story
|
|
|
|
bcx2014
Newbie
Offline
Activity: 3
Merit: 0
|
|
August 31, 2017, 04:20:53 PM |
|
As a complete noob to p2pool, thanks to veqtrus for creating a Segwit version that doesn't require me to move away from Core bitcoind. 17.1 seems to be working fine now with no scary error messages from p2pool or bitcoind. I wanted to signal my support for segwit, but not segwit2x. Thank you for giving me a way to do that! It was a bit of a convoluted path to find it tho. I am sure there are a lot of miners that just upgraded everything per the error message and end up supporting segwit2x without knowing it... clearly. I wish there was a clear path of instructions out there for those that support segwit, then another for those that support segwit2x. In any case, thank you veqtrus for supporting what i consider at this point to be "real" bitcoin.
|
|
|
|
veqtrus
|
|
August 31, 2017, 04:29:10 PM |
|
As a complete noob to p2pool, thanks to veqtrus for creating a Segwit version that doesn't require me to move away from Core bitcoind. 17.1 seems to be working fine now with no scary error messages from p2pool or bitcoind. I wanted to signal my support for segwit, but not segwit2x. Thank you for giving me a way to do that! It was a bit of a convoluted path to find it tho. I am sure there are a lot of miners that just upgraded everything per the error message and end up supporting segwit2x without knowing it... clearly. I wish there was a clear path of instructions out there for those that support segwit, then another for those that support segwit2x. In any case, thank you veqtrus for supporting what i consider at this point to be "real" bitcoin.
To be fair it would be hard for miners to support 2x without knowing it as jtoomim's fork throws an error if you mine with Core.
|
|
|
|
bcx2014
Newbie
Offline
Activity: 3
Merit: 0
|
|
August 31, 2017, 04:58:18 PM |
|
To be fair it would be hard for miners to support 2x without knowing it as jtoomim's fork throws an error if you mine with Core.
Yeah i tried that version initially and it was screaming error messages at me that ultimately would have required me to change my core wallet... and it seemed odd... it seemed to have an agenda... so that's when i found your version. I believe to get 17.1 it was as simple as: "git clone https://github.com/veqtrus/p2pool.git" Just dropping that there for noobs like me who want to show segwit support. Thanks again!
|
|
|
|
|
jtoomim
|
|
August 31, 2017, 05:15:06 PM Last edit: September 01, 2017, 12:07:18 AM by jtoomim |
|
Yeah i tried that version initially and it was screaming error messages at me that ultimately would have required me to change my core wallet...
Or add the --allow-obsolete-bitcoind command-line switch when running run_p2pool.py. That is mentioned in the error message. I wish there was a clear path of instructions out there for those that support segwit, then another for those that support segwit2x.
Frodocooper posted exactly that two posts before yours.
|
Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power. http://Toom.im
|
|
|
Comandante77
Newbie
Offline
Activity: 12
Merit: 0
|
|
September 01, 2017, 01:25:59 AM |
|
How I can see fees for my node? Workers are in there, but I dont see money. ^)
|
|
|
|
Cryptonomist
Newbie
Offline
Activity: 27
Merit: 0
|
|
September 01, 2017, 09:49:03 AM |
|
How I can see fees for my node? Workers are in there, but I dont see money. ^)
Hello, I suppose you want to know your mining reward. You should be able to find it in the web interface of your P2pool node reachable through http://YOUR_P2POOL_HOST:9332/. It should give you statistics about the payout you would get if the P2pool network finds a block now (see under "Payouts if a block were found NOW:"). If you use the default bitcoin address for your payouts, then normally you should find a plot under the link "graphs". If you use a different address it will show 0. You can also find this information when you go to the web interface of a public node. Normally they should also list the "Payouts if a block were found NOW:". Pick a public node that follows the P2pool share chain you use for mining (jtoomim branch or master branch). You will only find a quantity different from 0 under "Payouts if a block were found NOW:" if your miners have found at least 1 share in the last 3 days in the share chain. Also, the "Payouts if a block were found NOW:" quantities are potential payouts. They only become real when the P2pool network finds a block that is accepted in the Bitcoin blockchain. So it may take a while before you get a real payout. I hope this answers your question. You can find more information on http://p2pool.in/ and http://p2pool.org/.
|
|
|
|
Cryptonomist
Newbie
Offline
Activity: 27
Merit: 0
|
|
September 01, 2017, 04:01:20 PM |
|
It seems that the p2pool master branch is back in business . Currently >7000 TH. However, it still fluctuates a lot during the day. A few hours ago only 400 TH.
|
|
|
|
Meuh6879
Legendary
Offline
Activity: 1512
Merit: 1011
|
|
September 01, 2017, 08:55:39 PM |
|
|
|
|
|
Blue Bear
Newbie
Offline
Activity: 31
Merit: 0
|
|
September 02, 2017, 01:57:05 AM |
|
When I started before the Jtoomimnet split off mainnet was hashing in the Phash range now it in the low Thash range ... Yet everyone seems to keep a small portion of their miners pointed at mainnet sitting the fence is discouraging and disrupting ... Shrugs ...
|
|
|
|
jtoomim
|
|
September 02, 2017, 03:56:10 PM |
|
These spikes in hashrate are from people renting hashrate from Nicehash, usually to take advantage of merged mining income. As is often the case with Nicehash renters, this person seems to have had high DOA rates (~10%) during his hashing burst, which would subtract from his profitability. My guess is that the DOA rates this miner is getting are higher or equal to the revenue bonus he is getting from the merged mining, which means that he will probably stop after he has re-evaluated his profitability using experimental data instead of his predicted revenue.
If anyone is thinking of doing a Nicehash burst on p2pool, I suggest they let me know first. There are a few configuration changes they can make in order to improve their node performance, and there are also some code changes I've got on my to-do list that will improve fairness for miners with high vs. low hashrate and high vs. low latency.
|
Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power. http://Toom.im
|
|
|
Blue Bear
Newbie
Offline
Activity: 31
Merit: 0
|
|
September 02, 2017, 05:06:12 PM |
|
jtoomim
what was the pool hashrate before you got jtoomimnet up and running ...
|
|
|
|
frodocooper
|
|
September 02, 2017, 10:51:36 PM |
|
... and there are also some code changes I've got on my to-do list that will improve fairness for miners with high vs. low hashrate and high vs. low latency.
I'm eagerly waiting for this one. My two AvalonMiner 741's are bleeding me out with an average DOA rate of around 15% on my PyPy P2Pool node, no thanks to their sluggishness in keeping up with P2Pool's frequent work changes.
|
|
|
|
Philopolymath
Sr. Member
Offline
Activity: 558
Merit: 295
Walter Russell's Cosmogony is RIGHT!
|
|
September 02, 2017, 11:46:23 PM |
|
OMG Global hash rate of 666TH...That's EVIL.....
So much reading to catch up... Sad to see p2 is not more popular...seems to have some serious drawbacks as well.
|
Support Alien Beer Circle research...www.youtube.com/watch?v=MRXDk2RMQ4A
|
|
|
tubexc
|
|
September 03, 2017, 12:30:49 AM |
|
These spikes in hashrate are from people renting hashrate from Nicehash, usually to take advantage of merged mining income. As is often the case with Nicehash renters, this person seems to have had high DOA rates (~10%) during his hashing burst, which would subtract from his profitability. My guess is that the DOA rates this miner is getting are higher or equal to the revenue bonus he is getting from the merged mining, which means that he will probably stop after he has re-evaluated his profitability using experimental data instead of his predicted revenue.
If anyone is thinking of doing a Nicehash burst on p2pool, I suggest they let me know first. There are a few configuration changes they can make in order to improve their node performance, and there are also some code changes I've got on my to-do list that will improve fairness for miners with high vs. low hashrate and high vs. low latency.
I You are so worried about P2pool performance why don't you chance to the master branch ?
|
|
|
|
kano
Legendary
Offline
Activity: 4466
Merit: 1800
Linux since 1997 RedHat 4
|
|
September 03, 2017, 12:42:07 AM |
|
These spikes in hashrate are from people renting hashrate from Nicehash, usually to take advantage of merged mining income. As is often the case with Nicehash renters, this person seems to have had high DOA rates (~10%) during his hashing burst, which would subtract from his profitability. My guess is that the DOA rates this miner is getting are higher or equal to the revenue bonus he is getting from the merged mining, which means that he will probably stop after he has re-evaluated his profitability using experimental data instead of his predicted revenue.
If anyone is thinking of doing a Nicehash burst on p2pool, I suggest they let me know first. There are a few configuration changes they can make in order to improve their node performance, and there are also some code changes I've got on my to-do list that will improve fairness for miners with high vs. low hashrate and high vs. low latency.
I You are so worried about P2pool performance why don't you chance to the master branch ? Coz he is more worried about the problems with p2pool and doing something about them, rather than sticking his head in the sand.
|
|
|
|
tubexc
|
|
September 03, 2017, 12:57:15 AM |
|
These spikes in hashrate are from people renting hashrate from Nicehash, usually to take advantage of merged mining income. As is often the case with Nicehash renters, this person seems to have had high DOA rates (~10%) during his hashing burst, which would subtract from his profitability. My guess is that the DOA rates this miner is getting are higher or equal to the revenue bonus he is getting from the merged mining, which means that he will probably stop after he has re-evaluated his profitability using experimental data instead of his predicted revenue.
If anyone is thinking of doing a Nicehash burst on p2pool, I suggest they let me know first. There are a few configuration changes they can make in order to improve their node performance, and there are also some code changes I've got on my to-do list that will improve fairness for miners with high vs. low hashrate and high vs. low latency.
I You are so worried about P2pool performance why don't you chance to the master branch ? Coz he is more worried about the problems with p2pool and doing something about them, rather than sticking his head in the sand. I don't think he his worried about the problems that divide p2pool.And i can' t find one node with his 1 mb fork that's on the master branch.
|
|
|
|
Blue Bear
Newbie
Offline
Activity: 31
Merit: 0
|
|
September 03, 2017, 01:21:29 AM |
|
I don't think he his worried about the problems that divide p2pool.And i can' t find one node with his 1 mb fork that's on the master branch.
you won't ...
|
|
|
|
|