forrestv (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 03:51:46 AM |
|
Is there anyway to change the Bitcoin symbol in P2Pool to say "BTC" instead? I see in the Java code on the front-end that it calls currency.clone, but I am not sure where I find it's value?
Thanks,
I think it uses BTC everywhere ... can you provide a screenshot of where it uses the bitcoin symbol?
|
1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
|
|
|
Hunterbunter
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 10:50:05 AM |
|
Hey guys, what bad things come from having a high getwork latency? I'm under the impression that stratum makes getwork irrelevant, but I'm a bit worried that mine is quite high (sometimes a few seconds, you can see it here http://www.blisterpool.com/stats in the graphs bit). Is this a symptom of anything in particular? The cpu doesn't seem to be under any enormous stress, but it does peak every now and then...is this the cause? Also, I helped a miner get configured to run on my p2pool node, and he has some ASICMiner blades (~10.7GH each). Google search results (most seem to be from a year ago) have all told me that they naturally have high DOA rate with p2pool, without any real way to fix it. Is this still the case? His dead rate is around 40-50%. I also noticed the server was getting absolutely hammered with hash > target spam, and I suggested to the miner to use his bitcoin address+1 for his username. It reduced the server spam drastically (from 100/sec to several/sec), and reduced his DOA a little bit, but it also reduced his mean hashing power by about 10%. Could anyone explain to me what's going on here? I'd like to help him get better results.
|
|
|
|
IYFTech
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 12:42:34 PM |
|
Hey guys, what bad things come from having a high getwork latency? I'm under the impression that stratum makes getwork irrelevant, but I'm a bit worried that mine is quite high (sometimes a few seconds, you can see it here http://www.blisterpool.com/stats in the graphs bit). Is this a symptom of anything in particular? The cpu doesn't seem to be under any enormous stress, but it does peak every now and then...is this the cause? Also, I helped a miner get configured to run on my p2pool node, and he has some ASICMiner blades (~10.7GH each). Google search results (most seem to be from a year ago) have all told me that they naturally have high DOA rate with p2pool, without any real way to fix it. Is this still the case? His dead rate is around 40-50%. I also noticed the server was getting absolutely hammered with hash > target spam, and I suggested to the miner to use his bitcoin address+1 for his username. It reduced the server spam drastically (from 100/sec to several/sec), and reduced his DOA a little bit, but it also reduced his mean hashing power by about 10%. Could anyone explain to me what's going on here? I'd like to help him get better results. Blades are one of the many hardware that don't work with p2pool. Sorry.
|
|
|
|
KyrosKrane
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 07:02:35 PM |
|
Thanks to y'alls tips, I was able to get a public pool up and running. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) It's hosted in the US, in Orlando, FL. Feel free to connect and use it if you like! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) p2pool2.kyros.info:9332
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 09:59:32 PM |
|
Is there anyway to change the Bitcoin symbol in P2Pool to say "BTC" instead? I see in the Java code on the front-end that it calls currency.clone, but I am not sure where I find it's value?
Thanks,
I think it uses BTC everywhere ... can you provide a screenshot of where it uses the bitcoin symbol? p2pool.smoothrunnings.ca:9332/
|
|
|
|
CartmanSPC
Legendary
Offline
Activity: 1270
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2014, 10:12:44 PM |
|
Is there anyway to change the Bitcoin symbol in P2Pool to say "BTC" instead? I see in the Java code on the front-end that it calls currency.clone, but I am not sure where I find it's value?
Thanks,
I think it uses BTC everywhere ... can you provide a screenshot of where it uses the bitcoin symbol? p2pool.smoothrunnings.ca:9332/ That's specific to the front end your using...modifty the part of the code that uses that font. <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> ... // Places the currency this node is mining in the page header. If it's // Bitcoin, use the fontawesome BTC icon.
var set_currency_symbol= true; $(document).on('update_currency', function(e, eventInfo) { if(currency_info.symbol === 'BTC') { // use fontawesome BTC symbol currency= $('<i/>').attr('class', 'fa fa-btc fa-fw'); } else { currency= $('<span/>').append(currency_info.symbol); }
if(set_currency_symbol) { $('#currency') .append('(').append(currency).append(')'); set_currency_symbol= false; } });
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2014, 12:14:47 AM |
|
Is there anyway to change the Bitcoin symbol in P2Pool to say "BTC" instead? I see in the Java code on the front-end that it calls currency.clone, but I am not sure where I find it's value?
Thanks,
I think it uses BTC everywhere ... can you provide a screenshot of where it uses the bitcoin symbol? p2pool.smoothrunnings.ca:9332/ That's specific to the front end your using...modifty the part of the code that uses that font. <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> ... // Places the currency this node is mining in the page header. If it's // Bitcoin, use the fontawesome BTC icon.
var set_currency_symbol= true; $(document).on('update_currency', function(e, eventInfo) { if(currency_info.symbol === 'BTC') { // use fontawesome BTC symbol currency= $('<i/>').attr('class', 'fa fa-btc fa-fw'); } else { currency= $('<span/>').append(currency_info.symbol); }
if(set_currency_symbol) { $('#currency') .append('(').append(currency).append(')'); set_currency_symbol= false; } });
When I open this file in kwrite I don't see the code you have posted. And I can't seem to find a true CSS editor for Linux. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
IYFTech
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2014, 08:42:05 PM |
|
I noticed this has started appearing when I start p2pool after doing some compiling on my node:
"/usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.7.4-py2.7.egg is being added to sys.path"
It appears right at the start before p2pool does it's thing - but everything seems to be working OK with no errors. Have I accidentally added something I don't need - and should I get rid of it?
Thanks.
|
|
|
|
matthewh3
Legendary
Offline
Activity: 1372
Merit: 1003
|
![](https://bitcointalk.org/Themes/custom1/images/post/question.gif) |
February 21, 2014, 10:13:09 PM |
|
Currently in the planning stage of setting up a P2Pool node to merge-mine for a <2.8TH/s Bitmine Rig due to be delivered in late March. What diff should we set for the miner and is there and links to some good tips on setting up a good P2Pool node (to merge-mine)? Interested after reading this - https://en.bitcoin.it/wiki/P2Pool#Useful_features
|
|
|
|
IYFTech
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 22, 2014, 02:21:30 AM |
|
I noticed this has started appearing when I start p2pool after doing some compiling on my node:
"/usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.7.4-py2.7.egg is being added to sys.path"
It appears right at the start before p2pool does it's thing - but everything seems to be working OK with no errors. Have I accidentally added something I don't need - and should I get rid of it?
Thanks.
Anyone? This thread goes awfully quiet when there's a lean streak....... ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 22, 2014, 10:59:33 AM |
|
The luck on BtC has been terrible the last 3 days, I have found zero blocks. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
smooth
Legendary
Offline
Activity: 2968
Merit: 1198
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 22, 2014, 09:30:43 PM |
|
The luck on BtC has been terrible the last 3 days, I have found zero blocks. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Very bad over the past five days. Nothing for 3 days and the one before that was 2 days (should be one per day on average). http://p2pool.info/
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 22, 2014, 11:33:35 PM |
|
The luck on BtC has been terrible the last 3 days, I have found zero blocks. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Very bad over the past five days. Nothing for 3 days and the one before that was 2 days (should be one per day on average). http://p2pool.info/All I am seeing now is this in my P2Pool btcp2pool console. 2014-02-22 18:28:34.177337 Punishing share for 'Block-stale detected! height(35b79d2f1d0871eb566e3956f32f4142c02f3239ddc60f34) < height(a92b1d8cd88457c12893f7047ca9617f9b4a2c4f0ed38017) or 19015f53 != 19015f53'! Jumping from 8125839e to 6d08bbb4!
|
|
|
|
oldbushie
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 94
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 12:56:19 AM |
|
Time for a reboot/purge/reinstall?
I noticed that somehow 2 p2pool instances were running on my VPS for the past week (I think one of the auto-check scripts flubbed) so I just rebooted the VPS. Though my shares found rate was still ok considering...
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 03:16:10 AM |
|
Time for a reboot/purge/reinstall?
I noticed that somehow 2 p2pool instances were running on my VPS for the past week (I think one of the auto-check scripts flubbed) so I just rebooted the VPS. Though my shares found rate was still ok considering...
VPS?
|
|
|
|
superking123
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 06:36:24 AM |
|
I'm having a few issues sometimes when I try to create a new p2pool for various altcoins. Some altcoins work perfectly when I simply follow the instructions from this thread: https://bitcointalk.org/index.php?topic=457574.0Sometimes when I follow the exact same instructions for another altcoin. example a new coin called entropycoin [ENC] - https://bitcointalk.org/index.php?topic=482284.0my /p2pool/bitcoin/networks.py: entropycoin=math.Object( P2P_PREFIX='fbc0b6db'.decode('hex'), P2P_PORT=7553, ADDRESS_VERSION=33, RPC_PORT=7552, RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue( 'entropycoinaddress' in (yield bitcoind.rpc_help()) and not (yield bitcoind.rpc_getinfo())['testnet'] )), SUBSIDY_FUNC=lambda height: 96*100000000, POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)), BLOCK_PERIOD=60, # s SYMBOL='ENC', CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Litecoin') if platform.system() == 'Windows' else os.pa$ BLOCK_EXPLORER_URL_PREFIX='http://explorer.litecoin.net/block/', ADDRESS_EXPLORER_URL_PREFIX='http://explorer.litecoin.net/address/', SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1), DUMB_SCRYPT_DIFF=2**16, my /p2pool/networks.py entropycoin=math.Object( PARENT=networks.nets['entropycoin'], SHARE_PERIOD=10, # seconds CHAIN_LENGTH=24*60*60//10, # shares REAL_CHAIN_LENGTH=24*60*60//10, # shares TARGET_LOOKBEHIND=200, # shares SPREAD=12, # blocks IDENTIFIER='e037d5b8c6923410'.decode('hex'), PREFIX='7208c1a53ef629b0'.decode('hex'), P2P_PORT=9499, MIN_TARGET=0, MAX_TARGET=2**256//2**20 - 1, PERSIST=True, WORKER_PORT=9500, BOOTSTRAP_ADDRS='127.0.0.1:7552'.split(' '), ANNOUNCE_CHANNEL='#p2pool-alt', VERSION_CHECK=lambda v: True,
But then I get stuck at: Testing bitcoind RPC connection to 'http://127.0.0.1:7552/' with username 'entropycoinserver'... 2014-02-23 01:30:34.833511 ...success! 2014-02-23 01:30:34.833654 Current block hash: ba3d2c0e1c9361ce647203aeeefeccd9ec8ae47bdb4d1ed8951e60b8d1c6c9b9 2014-02-23 01:30:34.833720 Current block height: 489 2014-02-23 01:30:34.833792 2014-02-23 01:30:34.833891 Testing bitcoind P2P connection to '127.0.0.1:7553'...
This confuses me, because I've done the same thing for many other coins. Eg Dnotes, and rabbitcoin worked perfectly well. Entropycoin, for example give me this error. Gamerscoin gave me this error too. I've had the same problem with a few other coins. Anyone got any ideas?
|
1GU7761x1kETD5vB2Pvs99XNWSskm8tKpY
|
|
|
KyrosKrane
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 07:30:25 AM |
|
Time for a reboot/purge/reinstall?
I noticed that somehow 2 p2pool instances were running on my VPS for the past week (I think one of the auto-check scripts flubbed) so I just rebooted the VPS. Though my shares found rate was still ok considering...
VPS? A VPS is a virtual private server -- roughly equivalent to a shared hosting account, but emulating a dedicated server with root access (or equivalent) instead of just a Web site. Typically these offers come with significant "fair use" restrictions to make sure no one customer totally overloads or monopolizes the physical resources, starving the other VPS's hosted on that machine. I've actually been having the opposite problem from oldbushie. On my VPS, I've installed a monitoring utility (monit). For some reason, monit determines that p2pool and bitcoind aren't running (the email explicitly says the trigger is that the process isn't running, not that one of the other trigger conditions is met), about once an hour, and promptly proceeds to kill and restart the existing sessions. This is surprising, since both ran just fine for days before I installed monit. My guess is I configured monit wrong. If anyone has experience debugging monit scripts or settings, I'd appreciate any feedback. check process bitcoind with pidfile "/home/USER/.bitcoin/bitcoind.pid" start program "/usr/bin/bitcoind -datadir=/home/USER/.bitcoin -daemon" as uid USER and gid USER stop program "/usr/bin/pkill bitcoind" as uid USER and gid USER if failed port 8332 for 3 cycles then restart if cpu > 60% for 4 cycles then restart if cpu > 80% for 2 cycles then alert if 2 restarts within 10 cycles then alert
check process p2pool matching "p2pool" start program = "/usr/bin/python /home/USER/p2pool/run_p2pool.py --address 1F2jgm72pw7VH9GKFMgHTqqUhxXSptADkV --fee 1 --give-author 1" as uid USER and gid USER stop program = "/usr/bin/pkill p2pool" as uid USER and gid USER if failed port 9332 for 3 cycles then restart if cpu > 60% for 2 cycles then alert if cpu > 80% for 10 cycles then restart if 2 restarts within 10 cycles then alert
|
|
|
|
IYFTech
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 10:01:23 AM |
|
I noticed this has started appearing when I start p2pool after doing some compiling on my node:
"/usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.7.4-py2.7.egg is being added to sys.path"
It appears right at the start before p2pool does it's thing - but everything seems to be working OK with no errors. Have I accidentally added something I don't need - and should I get rid of it?
Thanks.
Anyone? This thread goes awfully quiet when there's a lean streak....... ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) OK, am I to presume that nobody on the p2pool thread knows what this means either? Surely someone must have knowledge of the p2pool workings on the p2pool thread....... ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Any devs out there? Why is everyone so quiet all of a sudden?
|
|
|
|
smoothrunnings
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2014, 12:42:41 PM |
|
Yeah if ESXi was having a problem I would have been sent a PRTG alert and my other guests would also be complaining, but they aren't. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) The CPU on my P2Pool barely goes over 270Mhz even though it has 5.3Ghz to play with. Time for a reboot/purge/reinstall?
I noticed that somehow 2 p2pool instances were running on my VPS for the past week (I think one of the auto-check scripts flubbed) so I just rebooted the VPS. Though my shares found rate was still ok considering...
VPS? A VPS is a virtual private server -- roughly equivalent to a shared hosting account, but emulating a dedicated server with root access (or equivalent) instead of just a Web site. Typically these offers come with significant "fair use" restrictions to make sure no one customer totally overloads or monopolizes the physical resources, starving the other VPS's hosted on that machine. I've actually been having the opposite problem from oldbushie. On my VPS, I've installed a monitoring utility (monit). For some reason, monit determines that p2pool and bitcoind aren't running (the email explicitly says the trigger is that the process isn't running, not that one of the other trigger conditions is met), about once an hour, and promptly proceeds to kill and restart the existing sessions. This is surprising, since both ran just fine for days before I installed monit. My guess is I configured monit wrong. If anyone has experience debugging monit scripts or settings, I'd appreciate any feedback. check process bitcoind with pidfile "/home/USER/.bitcoin/bitcoind.pid" start program "/usr/bin/bitcoind -datadir=/home/USER/.bitcoin -daemon" as uid USER and gid USER stop program "/usr/bin/pkill bitcoind" as uid USER and gid USER if failed port 8332 for 3 cycles then restart if cpu > 60% for 4 cycles then restart if cpu > 80% for 2 cycles then alert if 2 restarts within 10 cycles then alert
check process p2pool matching "p2pool" start program = "/usr/bin/python /home/USER/p2pool/run_p2pool.py --address 1F2jgm72pw7VH9GKFMgHTqqUhxXSptADkV --fee 1 --give-author 1" as uid USER and gid USER stop program = "/usr/bin/pkill p2pool" as uid USER and gid USER if failed port 9332 for 3 cycles then restart if cpu > 60% for 2 cycles then alert if cpu > 80% for 10 cycles then restart if 2 restarts within 10 cycles then alert
|
|
|
|
|