Bitcoin Forum
April 21, 2014, 09:38:17 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 ... 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 [111] 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 ... 415
  Print  
Author Topic: [185 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 696236 times)
Red Emerald
Hero Member
*****
Offline Offline

Activity: 728



View Profile WWW

Ignore
May 05, 2012, 08:14:29 PM
 #2201

I am running p2pool with great results on debian, however for best efficiency I am planning on running on a server I have on the internet that runs centos, the debian server I use for mining and it is best not to have the miners and the mining pool on the same server.

I get this strange error when running on centos 5.5
forrestv-p2pool-04283e9]# ./run_p2pool.py
Traceback (most recent call last):
  File "/home/sergio/forrestv-p2pool-04283e9/p2pool/__init__.py", line 36, in _get_version
    if len(dir_name) >= 7 and (len(dir_name) == 7 or dir_name[-8] not in chars) and all(c in chars for c in dir_name[-7:]):
NameError: global name 'all' is not defined
Traceback (most recent call last):
  File "./run_p2pool.py", line 3, in ?
    from p2pool import main
  File "/home/sergio/forrestv-p2pool-04283e9/p2pool/main.py", line 27
    from . import p2p, networks, web
         ^
SyntaxError: invalid syntax

Any ideas on how to fix that error, is there a patch available to run p2pool in centos 5.5 ?
On centos python is version 2.4 on debian it is 2.6.6
Python 2.4 is not compatible with p2pool.  Sorry Sad

Getting 2.7 running on Centos is a PITA.  I just had to mess around with it for work and we ended up using ubuntu 12.04 LTS.

I don't know why considering 2.7 is almost 2 years old.  2.6 is in EPEL though.


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

Posts: 1398073097

View Profile Personal Message (Offline)

Ignore
1398073097
Reply with quote  #2

1398073097
Report to moderator
1398073097
Hero Member
*
Offline Offline

Posts: 1398073097

View Profile Personal Message (Offline)

Ignore
1398073097
Reply with quote  #2

1398073097
Report to moderator
1398073097
Hero Member
*
Offline Offline

Posts: 1398073097

View Profile Personal Message (Offline)

Ignore
1398073097
Reply with quote  #2

1398073097
Report to moderator
1398073097
Hero Member
*
Offline Offline

Posts: 1398073097

View Profile Personal Message (Offline)

Ignore
1398073097
Reply with quote  #2

1398073097
Report to moderator
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile

Ignore
May 05, 2012, 09:46:03 PM
 #2202

woot, two blocks in less than a week with just 3.2GH 

Also, I have a quick question, if you solve the bitcoin block do you also solve a namecoin block at the same time?  I'm pretty sure that is what merged mining means.
bitpop
Hero Member
*****
Offline Offline

Activity: 966



View Profile WWW

Ignore
May 05, 2012, 10:26:49 PM
 #2203

no you COULD solve a namecoin block
plus with namecoin, your solution must solve an ENTIRE block, there are no shares

Arbitrage opportunities: http://cuarta.info/    Buy Bitcoin: https://buttercoin.com/    Live trades: http://coinslinger.pw/
BTC: 1BitPoPW7jeHYyiEXvngwH8U1Mpk83E26r Any tip is appreciated! | PGP | OpenVPN | KNC Miner
Bitmessage: (bitpop) BM-NC2jK32oc4asYcT274paC17naKKChb1A | Reputation/Free Escrow/Consulting Service
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile

Ignore
May 05, 2012, 10:35:40 PM
 #2204

Yeah, I knew that alt mining wasn't pooled, but so far every time I have found a bitcoin block, I also found a namecoin block. 

Of course, I've only found like, 3 or 4, so the sample size is pretty small, but still.

bitpop
Hero Member
*****
Offline Offline

Activity: 966



View Profile WWW

Ignore
May 05, 2012, 11:02:48 PM
 #2205

lucky, i barely find any. so you got like 200 nmc?

Arbitrage opportunities: http://cuarta.info/    Buy Bitcoin: https://buttercoin.com/    Live trades: http://coinslinger.pw/
BTC: 1BitPoPW7jeHYyiEXvngwH8U1Mpk83E26r Any tip is appreciated! | PGP | OpenVPN | KNC Miner
Bitmessage: (bitpop) BM-NC2jK32oc4asYcT274paC17naKKChb1A | Reputation/Free Escrow/Consulting Service
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile

Ignore
May 05, 2012, 11:18:31 PM
 #2206

I didn't find any for about a month or so, then I got 2 towards the end of april, and two more with each block I've found recently.   I think I may have found one or two more way back when. 

But I just sell it off right away. Still, it is a nice little bonus.
forrestv
Sr. Member
****
Offline Offline

Activity: 467


View Profile

Ignore
May 06, 2012, 12:40:23 AM
 #2207

Also, I have a quick question, if you solve the bitcoin block do you also solve a namecoin block at the same time?  I'm pretty sure that is what merged mining means.

Any Bitcoin block will definitely (at least for now) be a Namecoin block, because Bitcoin's difficulty is higher than Namecoin's.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
gyverlb
Hero Member
*****
Offline Offline

Activity: 840



View Profile

Ignore
May 06, 2012, 10:07:57 AM
 #2208

p2pool bug ?
If I'm not mistaken, p2pool found a block yesterday at 21:04 GMT but my node doesn't report it in the last blocks see original page here if you go to it quickly enough :
http://linode.bouton.name:9332/static/
Screencap coming later.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
gyverlb
Hero Member
*****
Offline Offline

Activity: 840



View Profile

Ignore
May 06, 2012, 10:09:13 AM
 #2209

Just noticed the warning : block might have been orphaned from the chain... So I assume it's OK.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
kjj
Hero Member
*****
Offline Offline

Activity: 1022


Bitcoin Foundation - Lifetime Member


View Profile

Ignore
May 07, 2012, 01:38:11 PM
 #2210

Woohoo!  I finally got my first p2pool block.  I had been starting to get worried because my rough estimates of my personal expected time to block had already come and gone.  Even when you know it is an estimate, and an estimate of the 50% probability time, no less, I've gotta say, it can still be hard not to get worried.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
cabin
Full Member
***
Offline Offline

Activity: 205


View Profile

Ignore
May 07, 2012, 06:00:44 PM
 #2211

They're coming so fast now we managed to orphan one of our own at 179105!

http://blockchain.info/orphaned-blocks

1Cabinz1RSccAbFx2DikYomSKeMupy7M6V
Aseras
Hero Member
*****
Offline Offline

Activity: 658


View Profile

Ignore
May 07, 2012, 06:07:39 PM
 #2212

They're coming so fast now we managed to orphan one of our own at 179105!

http://blockchain.info/orphaned-blocks

If we don't hit another block for a week I'm going to kill you. Never mention good luck. Ever. It's the first rule. LOL.
JayCoin
Sr. Member
****
Offline Offline

Activity: 370


LOAD "*",8,1


View Profile WWW

Ignore
May 07, 2012, 06:50:27 PM
 #2213

Maybe consider lower diff a bit and less longpool messages? I haven't share over last 24hrs...
I have only ~170MH/s and most of my worker get works are break by longpool reset.
In description it is about 10s between longpolls but in most cases i get longpool restart every 5s...
Also after upgrading to 11.1 i`m getting ALOT of dead on arrival (about 30% vs under 5% on 10.3), same worker and config.

Since you have a small rig, it might be worth mining at p2pmining.com.  He runs a public, merged mining p2pool node with diff 1 shares designed for smaller miners.

To get difficulty 1 share at p2pmining.com add a +1 to the end of your username/payout address.  Larger miners may find it work better to submit higher difficulty shares.

Bitvenders.com
Bitcoin Mining Equipment
Buy and Sell Bitcoins AtCoinbase.com
gyverlb
Hero Member
*****
Offline Offline

Activity: 840



View Profile

Ignore
May 07, 2012, 06:55:16 PM
 #2214

OK, who tested his experimental quantum computer running in his basement on p2pool between 5:30PM and 5:35PM GMT today ? 4 blocks in a matter of 3 minutes including one orphan ? Insane luck !

This is at time like this that you can't stop wondering if luck really has no memory...

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile

Ignore
May 07, 2012, 06:57:46 PM
 #2215

Did we just orphan our own block?  We had 105, then 105 orphaned, then 106. 
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile

Ignore
May 07, 2012, 06:58:36 PM
 #2216

Did we just orphan our own block?  We had 105, then 105 orphaned, then 106. 

Yes!

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW

Ignore
May 07, 2012, 07:39:25 PM
 #2217

There seems to be something dodgy going on here:
Quote
2012-05-07 19:31:15.748325 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595
2012-05-07 19:31:29.376311 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780
2012-05-07 19:32:22.195304 GOT BLOCK FROM PEER! Passing to bitcoind! 5e0bae54 bitcoin: http://blockexplorer.com/block/00000000000009f544164219e9d5580020c802b27b4e30d61924497b5e0bae54
2012-05-07 19:34:44.081425 GOT BLOCK FROM PEER! Passing to bitcoind! 8f095de4 bitcoin: http://blockexplorer.com/block/00000000000004b35e124ad23992137c87e1c2d37e8a15189879db408f095de4
2012-05-07 19:36:49.426890 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780
2012-05-07 19:37:08.294949 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595
2012-05-07 19:42:05.599642 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780
2012-05-07 19:44:03.164002 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595

Notice how p2pool keeps passing the same blocks to bitcoind over and over. Seems the orphan didn't want to go down without a fight... Tongue

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
gyverlb
Hero Member
*****
Offline Offline

Activity: 840



View Profile

Ignore
May 07, 2012, 08:06:24 PM
 #2218

There seems to be something dodgy going on here:
Quote
2012-05-07 19:31:15.748325 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595
2012-05-07 19:31:29.376311 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780

Notice how p2pool keeps passing the same blocks to bitcoind over and over. Seems the orphan didn't want to go down without a fight... Tongue

I suppose your node is NTP-synced ? My node noticed the blocks like this :

Code:
2012-05-07 19:31:17.798942 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595
2012-05-07 19:31:17.799030
2012-05-07 19:31:19.374251 New work for worker! Difficulty: 0.999985 Share difficulty: 671.595424 Total block value: 50.106500 BTC including 171 transactions
2012-05-07 19:31:19.540366 P2Pool: 17346 shares in chain (17350 verified/17350 total) Peers: 50 (40 incoming)
2012-05-07 19:31:19.540528  Local: 1460MH/s in last 10.0 minutes Local dead on arrival: ~5.9% (3-10%) Expected time to share: 32.8 minutes
2012-05-07 19:31:19.540603  Shares: 136 (8 orphan, 8 dead) Stale rate: ~11.8% (7-19%) Efficiency: ~97.5% (90-103%) Current payout: 0.2078 BTC
2012-05-07 19:31:19.540763  Pool: 322GH/s Stale rate: 9.5% Expected time to block: 5.6 hours
2012-05-07 19:31:20.746810 New work for worker! Difficulty: 0.999985 Share difficulty: 675.393531 Total block value: 50.106500 BTC including 171 transactions
2012-05-07 19:31:22.689407 P2Pool: 17347 shares in chain (17351 verified/17351 total) Peers: 50 (40 incoming)
2012-05-07 19:31:22.689564  Local: 1467MH/s in last 10.0 minutes Local dead on arrival: ~6.3% (3-11%) Expected time to share: 32.9 minutes
2012-05-07 19:31:22.689667  Shares: 136 (8 orphan, 8 dead) Stale rate: ~11.8% (7-19%) Efficiency: ~97.8% (90-103%) Current payout: 0.2078 BTC
2012-05-07 19:31:22.689767  Pool: 325GH/s Stale rate: 9.8% Expected time to block: 5.5 hours
2012-05-07 19:31:25.756062 P2Pool: 17347 shares in chain (17351 verified/17351 total) Peers: 50 (40 incoming)
2012-05-07 19:31:25.756237  Local: 1460MH/s in last 10.0 minutes Local dead on arrival: ~6.4% (3-11%) Expected time to share: 33.1 minutes
2012-05-07 19:31:25.756316  Shares: 136 (8 orphan, 8 dead) Stale rate: ~11.8% (7-19%) Efficiency: ~97.8% (90-103%) Current payout: 0.2078 BTC
2012-05-07 19:31:25.756401  Pool: 325GH/s Stale rate: 9.8% Expected time to block: 5.5 hours
2012-05-07 19:31:29.498357 P2Pool: 17347 shares in chain (17351 verified/17351 total) Peers: 50 (40 incoming)
2012-05-07 19:31:29.498509  Local: 1445MH/s in last 10.0 minutes Local dead on arrival: ~6.4% (3-11%) Expected time to share: 33.4 minutes
2012-05-07 19:31:29.498593  Shares: 136 (8 orphan, 8 dead) Stale rate: ~11.8% (7-19%) Efficiency: ~97.8% (90-103%) Current payout: 0.2078 BTC
2012-05-07 19:31:29.498685  Pool: 325GH/s Stale rate: 9.8% Expected time to block: 5.5 hours
2012-05-07 19:31:32.871357
2012-05-07 19:31:32.871528 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780

I notice 2 things :
  • my node saw the blocks ~2 seconds later than yours
  • there's a ~15 second delay between the two blocks

If you don't run ntpd 2 seconds isn't much, if you do it's a little worrisome : 2 seconds to broadcast such information is high. I'd expect something like 500ms at most.

I don't understand how a node could produce an orphaned block 15 seconds after another has been seen by p2pool if things are working correctly. If the node responsible for the orphan block could be found it may be useful to find out what happened from its point of view.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
May 07, 2012, 10:06:26 PM
 #2219

Well - don't forget the obvious ...
Each 'pool' is whatever hardware, network and poorly tuned OS the person running p2pool is using.
Thus there can quite obviously be some people running p2pool with major latency issues in their setup.

In that case, consider that if they find a block, they are using a 'poorly tuned pool' to get the block out on the net to the block chain and share chain (rather than a low latency highly efficient pool running on high quality hardware with a well tuned OS with lots of network connections ...)

What's that comment about chains and weakest links ... Smiley

Luckily they wont find blocks very often ...

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW

Ignore
May 07, 2012, 10:24:24 PM
 #2220

There seems to be something dodgy going on here:
Quote
2012-05-07 19:31:15.748325 GOT BLOCK FROM PEER! Passing to bitcoind! 52bb8595 bitcoin: http://blockexplorer.com/block/000000000000080aaeb78a2217dae7e1c66f431d48c6c4085026d50c52bb8595
2012-05-07 19:31:29.376311 GOT BLOCK FROM PEER! Passing to bitcoind! 58c76780 bitcoin: http://blockexplorer.com/block/000000000000015e628594f22a190a6ec8ba9c7af57a2c549bd34edd58c76780

Notice how p2pool keeps passing the same blocks to bitcoind over and over. Seems the orphan didn't want to go down without a fight... Tongue

I suppose your node is NTP-synced ? My node noticed the blocks like this :

[snip]

I notice 2 things :
  • my node saw the blocks ~2 seconds later than yours
  • there's a ~15 second delay between the two blocks

If you don't run ntpd 2 seconds isn't much, if you do it's a little worrisome : 2 seconds to broadcast such information is high. I'd expect something like 500ms at most.

I don't understand how a node could produce an orphaned block 15 seconds after another has been seen by p2pool if things are working correctly. If the node responsible for the orphan block could be found it may be useful to find out what happened from its point of view.

[corrected your quote]

My node is NTP-synced at midnight, and regularly off by 5s, so 2s by 19:30 isn't too unlikely. Note, however, that the timestamp of each block is ~1 minute after my node received them - and you complain about 2s? Wink

Anyway, my point was more that all that passing ancient blocks to bitcoind is kinda buggy. Does bitcoind do anything drastic when a peer keeps sending the same block over and over?

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
Pages: 1 ... 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 [111] 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 ... 415
  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!