Bitcoin Forum
December 06, 2016, 08:21:58 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 [312] 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2031465 times)
elebit
Sr. Member
****
Offline Offline

Activity: 390


View Profile
July 24, 2013, 06:11:42 AM
 #6221

How far back does p2pool look at your work share to calculate your share in a solved block?
1481012518
Hero Member
*
Offline Offline

Posts: 1481012518

View Profile Personal Message (Offline)

Ignore
1481012518
Reply with quote  #2

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

Posts: 1481012518

View Profile Personal Message (Offline)

Ignore
1481012518
Reply with quote  #2

1481012518
Report to moderator
daemondazz
Sr. Member
****
Offline Offline

Activity: 280



View Profile
July 24, 2013, 06:16:07 AM
 #6222

How far back does p2pool look at your work share to calculate your share in a solved block?

The length of the share chain is around 8640 shares, which with an average 30s share time, is 3 days.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 574


View Profile
July 24, 2013, 09:42:41 AM
 #6223

What spec of machines are folks using for p2pool?  I'm thinking of setting it up myself, but not sure what machine to use.

I've got a Celeron 847 (dual core 1.1GHz) with 8GB RAM and a 64GB SDD.  Is that likely to be enough?  Probably running Windows Server 2008R2, so very little OS overhead.
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
July 24, 2013, 09:58:58 AM
 #6224

What spec of machines are folks using for p2pool?  I'm thinking of setting it up myself, but not sure what machine to use.

I've got a Celeron 847 (dual core 1.1GHz) with 8GB RAM and a 64GB SDD.  Is that likely to be enough?  Probably running Windows Server 2008R2, so very little OS overhead.

That should be plenty.  The SSD will be the biggest help.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
bitpop
Legendary
*
Offline Offline

Activity: 1918


https://keybase.io/bitpop


View Profile WWW
July 24, 2013, 11:17:30 AM
 #6225

Problem isn't necessarily p2pool, its bitcoind. As long as it can produce work in .1 seconds you're good. For a couple microseconds it will use 100% cpu, and remember disk space as blockchain gets bigger.

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
July 24, 2013, 11:59:22 AM
 #6226

Catched an error today:
Code:
2013-07-24 12:58:36.067043  Pool: 2343GH/s Stale rate: 9.8% Expected time to block: 15.9 hours
2013-07-24 12:58:44.749809 Peer sent entire transaction a4bcbbc4fbed73523e13ba325acd3efe5e706b3fe8b492751f73598c7a5ca603 that was already received
2013-07-24 12:58:51.094497 P2Pool: 17428 shares in chain (17432 verified/17432 total) Peers: 7 (0 incoming)
2013-07-24 12:58:51.097240  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:58:51.097320  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2013-07-24 12:58:51.097409  Pool: 2343GH/s Stale rate: 9.8% Expected time to block: 15.9 hours
2013-07-24 12:59:06.124648 P2Pool: 17428 shares in chain (17432 verified/17432 total) Peers: 7 (0 incoming)
2013-07-24 12:59:06.124736  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:59:06.124767  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2013-07-24 12:59:06.124804  Pool: 2343GH/s Stale rate: 9.8% Expected time to block: 15.9 hours
2013-07-24 12:59:21.151871 P2Pool: 17428 shares in chain (17432 verified/17432 total) Peers: 7 (0 incoming)
2013-07-24 12:59:21.151978  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:59:21.152017  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2013-07-24 12:59:21.152061  Pool: 2343GH/s Stale rate: 9.8% Expected time to block: 15.9 hours
2013-07-24 12:59:28.991313 Peer sent entire transaction f2f79a3ea9cf95cf4995b7dff8be2c6063706abc00c754b66a5f6fe80d635871 that was already received
2013-07-24 12:59:36.180783 P2Pool: 17428 shares in chain (17432 verified/17432 total) Peers: 7 (0 incoming)
2013-07-24 12:59:36.181005  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:59:36.181121  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2013-07-24 12:59:36.181265  Pool: 2343GH/s Stale rate: 9.8% Expected time to block: 15.9 hours
2013-07-24 12:59:36.372657 > Error while processing Event callbacks:
2013-07-24 12:59:36.372933 > Traceback (most recent call last):
2013-07-24 12:59:36.373074 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 280, in handle_shares
2013-07-24 12:59:36.373234 >     self.node.handle_shares(result, self)
2013-07-24 12:59:36.373369 >   File "/home/pioruns/p2pool/p2pool/node.py", line 48, in handle_shares
2013-07-24 12:59:36.373505 >     self.node.set_best_share()
2013-07-24 12:59:36.373627 >   File "/home/pioruns/p2pool/p2pool/node.py", line 297, in set_best_share
2013-07-24 12:59:36.373749 >     self.best_share_var.set(best)
2013-07-24 12:59:36.373864 >   File "/home/pioruns/p2pool/p2pool/util/variable.py", line 74, in set
2013-07-24 12:59:36.373986 >     self.changed.happened(value)
2013-07-24 12:59:36.374099 > --- <exception caught here> ---
2013-07-24 12:59:36.374213 >   File "/home/pioruns/p2pool/p2pool/util/variable.py", line 42, in happened
2013-07-24 12:59:36.374333 >     func(*event)
2013-07-24 12:59:36.374444 >   File "/home/pioruns/p2pool/p2pool/node.py", line 96, in broadcast_share
2013-07-24 12:59:36.374543 >     peer.sendShares([share for share in shares if share.peer_addr != peer.addr], self.node.tracker, self.node.known_txs_var.value, include_txs_with=[share_hash])
2013-07-24 12:59:36.374664 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 288, in sendShares
2013-07-24 12:59:36.374770 >     assert tx_hash in known_txs, 'tried to broadcast share without knowing all its new transactions'
2013-07-24 12:59:36.374875 > exceptions.AssertionError: tried to broadcast share without knowing all its new transactions
2013-07-24 12:59:36.996534 Peer sent entire transaction 1607b548e80dc1aaad5ac47dc263ce0fc2ece8c532eb38a1f1f55fb168fed197 that was already received
2013-07-24 12:59:37.032141 Peer sent entire transaction 1607b548e80dc1aaad5ac47dc263ce0fc2ece8c532eb38a1f1f55fb168fed197 that was already received
2013-07-24 12:59:37.439208 Peer sent entire transaction 1607b548e80dc1aaad5ac47dc263ce0fc2ece8c532eb38a1f1f55fb168fed197 that was already received
2013-07-24 12:59:39.190384 P2Pool: 17429 shares in chain (17433 verified/17433 total) Peers: 7 (0 incoming)
2013-07-24 12:59:39.193220  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:59:39.193264  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2013-07-24 12:59:39.193307  Pool: 2355GH/s Stale rate: 9.8% Expected time to block: 15.8 hours
2013-07-24 12:59:39.300764 Peer sent entire transaction 1607b548e80dc1aaad5ac47dc263ce0fc2ece8c532eb38a1f1f55fb168fed197 that was already received
2013-07-24 12:59:54.220979 P2Pool: 17429 shares in chain (17433 verified/17433 total) Peers: 7 (0 incoming)
2013-07-24 12:59:54.221136  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-07-24 12:59:54.221191  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 574


View Profile
July 24, 2013, 12:05:44 PM
 #6227

Yeah, I think I might use a different SSD, something a little bigger.   The little Celeron 847 is pretty quick for what it is.  Smiley
freshzive
Sr. Member
****
Offline Offline

Activity: 447


View Profile
July 24, 2013, 02:10:46 PM
 #6228

The celeron might not be enough. My latency on a 1.3ghz dual core atom (8gb ram, 120gb ssd)  was high enough to increase my orphan  and DOA rate pretty dramatically. The  again, the celeron should be slightly faster.

My getblocktemplate latency was around ~500ms with the Atom. Dropped to ~100ms running on my main i7.

bitpop
Legendary
*
Offline Offline

Activity: 1918


https://keybase.io/bitpop


View Profile WWW
July 24, 2013, 02:12:18 PM
 #6229

Idk the celerons, atoms and i5s I've used are trash

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
dc81
Member
**
Offline Offline

Activity: 84


View Profile WWW
July 24, 2013, 04:23:36 PM
 #6230

So looking at the two highest hash rate public nodes,
http://195.72.200.193:9332/ at ~230 GH/s and ~15 (!!) second latency has an efficiency of >105%
http://178.27.235.42:9332/ at ~150 GH/s and ~.25 second latency has an efficiency of ~100%

Even looking at ~3 GH/s nodes,
http://1.202.128.218:9332/ has ~2.5 second latency
http://88.190.31.3:9332/ has ~.1 second latency
Both are around ~101% efficient

List of public bitcoin P2Pool nodes - http://p2pool-nodes.info || Amazon Price Tracker
Tips - 1dc81BVNy688RS2E9iqf8VtJVB4YbQpCs
chanson
Member
**
Offline Offline

Activity: 84


View Profile
July 24, 2013, 04:47:06 PM
 #6231

Idk the celerons, atoms and i5s I've used are trash

I'm running p2pool/bitcoind/altcoinds/cgminer on an Intel Next Unit of Computing with a Celeron 847 @ 1.10GHz, 4GB RAM with 4x AsicMiner USB Eruptors. I had to move the blockchains (bitcoin, devcoin, namecoin, ixcoin) to an external USB hard drive (system drive is 32GB SSD). It took some tweaking, but my get work latency is ~0.2-0.3 and I see DOA of 1.5% and 101.5% efficiency. CPU load seems pretty low (~80-90% idle mostly). Seems fine to me. Biggest problem is that my share luck seems to be inversely proportional to p2pool's block luck. Wink
lavajumper
Hero Member
*****
Offline Offline

Activity: 615


Sexcoin Core Dev Team Member


View Profile
July 24, 2013, 06:32:10 PM
 #6232

I'm setting up a p2pool for an altcoin. Mining appears to work well, but I can't get the stat page to display any stats. The stat headings show up, but not the data. The graphs are working. I'm not a python guy, and I'm having a hard time figuring out where to start. There's no errors in the logs. Could someone give a suggestion where to start looking?

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com
dc81
Member
**
Offline Offline

Activity: 84


View Profile WWW
July 24, 2013, 07:44:24 PM
 #6233

I'm setting up a p2pool for an altcoin. Mining appears to work well, but I can't get the stat page to display any stats. The stat headings show up, but not the data. The graphs are working. I'm not a python guy, and I'm having a hard time figuring out where to start. There's no errors in the logs. Could someone give a suggestion where to start looking?

javascript enabled?

List of public bitcoin P2Pool nodes - http://p2pool-nodes.info || Amazon Price Tracker
Tips - 1dc81BVNy688RS2E9iqf8VtJVB4YbQpCs
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
July 24, 2013, 07:47:28 PM
 #6234

I'm setting up a p2pool for an altcoin. Mining appears to work well, but I can't get the stat page to display any stats. The stat headings show up, but not the data. The graphs are working. I'm not a python guy, and I'm having a hard time figuring out where to start. There's no errors in the logs. Could someone give a suggestion where to start looking?

You have to wait a while for the chain to get long enough for some of the stats to work, so mine for a few hours first. A screenshot would be helpful.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
lavajumper
Hero Member
*****
Offline Offline

Activity: 615


Sexcoin Core Dev Team Member


View Profile
July 24, 2013, 08:18:34 PM
 #6235

Javascript is on.

I'm getting this:



And this:



The only data filled in is the graphs.

If I got to /web/tails or /web/head in my browser I get '[]' for both.

Is there an idiots guide to setting this up for another coin. I got the .math entries, but I'm thinking I'm missing something big.

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
July 24, 2013, 11:29:19 PM
 #6236

You're using non-standard UI?
can you share node's address?
lavajumper
Hero Member
*****
Offline Offline

Activity: 615


Sexcoin Core Dev Team Member


View Profile
July 25, 2013, 01:19:38 AM
 #6237

You're using non-standard UI?
can you share node's address?

Yes, it the ExtendedUI. I cloned p2pool from github git://github.com/forrestv/p2pool.git
then got the extended UI. The issue exists with both frontends.

Here's the link: http://sexcoin.lavajumper.com:9699

Over the last couple of hours some of the stats have started filling in.

There's another issue I'm seeing. Coins are not being dropped into the mining wallet. My miner is getting .5% even when its the only miner in the pool. I've chased down the address that they are going to, and I've never seen it before. Its never been on the pool.

If I need to clarify anything, let me know. I'm a bit frustrated at the moment.
Thanks for the help!

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
July 25, 2013, 01:28:14 AM
 #6238

You're using non-standard UI?
can you share node's address?

Yes, it the ExtendedUI. I cloned p2pool from github git://github.com/forrestv/p2pool.git
then got the extended UI. The issue exists with both frontends.

Here's the link: http://sexcoin.lavajumper.com:9699

Over the last couple of hours some of the stats have started filling in.

There's another issue I'm seeing. Coins are not being dropped into the mining wallet. My miner is getting .5% even when its the only miner in the pool. I've chased down the address that they are going to, and I've never seen it before. Its never been on the pool.

If I need to clarify anything, let me know. I'm a bit frustrated at the moment.
Thanks for the help!


Data is not loading because there are javascript errors on the frontend.  In particular, the frontend is trying to load /web/best_share_hash and is getting a 404 error.  That is then cascading into several other javascript errors as a result.  I have no idea why /web/best_share_hash is erroring out.

For the payout issue, did you specify a payout address on the command line?  If not, p2pool will allocate a new address from the wallet it is connected to for things like any configured fee, etc.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
lavajumper
Hero Member
*****
Offline Offline

Activity: 615


Sexcoin Core Dev Team Member


View Profile
July 25, 2013, 01:37:08 AM
 #6239

Ok, I can look for the javascript errors.
best_share_hash is erroring out because the call was throwing python exceptions, so I commented out the call in python. Looks like I'll have to actually fix it Smiley

I specified an address on the command line, and it gets reported at startup, it is also in the 'cached-addresses' file. It still has a zero balance.

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com
kano
Legendary
*
Online Online

Activity: 1918


Linux since 1997 RedHat 4


View Profile
July 25, 2013, 02:05:50 AM
 #6240

Ok, I can look for the javascript errors.
best_share_hash is erroring out because the call was throwing python exceptions, so I commented out the call in python. Looks like I'll have to actually fix it Smiley

I specified an address on the command line, and it gets reported at startup, it is also in the 'cached-addresses' file. It still has a zero balance.

... and will have a zero balance until:
1) You get a share
2) P2Pool gets a block after 1)
3) The payment switches to generate (about 16 hours)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Pages: « 1 ... 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 [312] 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 ... 744 »
  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!