Bitcoin Forum
December 10, 2016, 02:58:01 PM *
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 ... 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 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 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034691 times)
Richy_T
Legendary
*
Offline Offline

Activity: 1246


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
May 06, 2013, 06:04:28 PM
 #5281


I think http://localhost:9554/local_stats is as close as you can get. 

M

Wow, I didn't know that existed. That makes something I'm trying to do a lot easier.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
1481381881
Hero Member
*
Offline Offline

Posts: 1481381881

View Profile Personal Message (Offline)

Ignore
1481381881
Reply with quote  #2

1481381881
Report to moderator
1481381881
Hero Member
*
Offline Offline

Posts: 1481381881

View Profile Personal Message (Offline)

Ignore
1481381881
Reply with quote  #2

1481381881
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 06, 2013, 06:15:44 PM
 #5282

I get ---ERROR---

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

Activity: 100

Do you like fire? I'm full of it.


View Profile
May 06, 2013, 06:30:30 PM
 #5283

For the first time in a month of mining on p2pool, the page is saying "Payout if a block were found now: 0 BTC". This is in spite of the hashrate being shown normal and DOAs/orphans next to nonexistent. And about an hour ago it was showing a non-zero payment. I restarted the entire btc, p2pool, bfgminer ensemble but it's still showing 0. Why does this happen?
daemondazz
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 06, 2013, 06:45:57 PM
 #5284

Wow, I didn't know that existed. That makes something I'm trying to do a lot easier.

Yep, useful. What time period are those stats over? In particular I mean the miner_hash_rates and miner_dead_hash_rates. I need them over a reasonably short period for alarming to be able to react if a miner goes away.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
daemondazz
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 06, 2013, 06:46:26 PM
 #5285

For the first time in a month of mining on p2pool, the page is saying "Payout if a block were found now: 0 BTC". This is in spite of the hashrate being shown normal and DOAs/orphans next to nonexistent. And about an hour ago it was showing a non-zero payment. I restarted the entire btc, p2pool, bfgminer ensemble but it's still showing 0. Why does this happen?

Do you have any peer connections?

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
centove
Full Member
***
Offline Offline

Activity: 194


View Profile
May 06, 2013, 06:53:20 PM
 #5286

Wow, I didn't know that existed. That makes something I'm trying to do a lot easier.

Yep, useful. What time period are those stats over? In particular I mean the miner_hash_rates and miner_dead_hash_rates. I need them over a reasonably short period for alarming to be able to react if a miner goes away.
Code:
def get_local_stats():
...
   lookbehind = min(node.tracker.get_height(node.best_share_var.value), 3600//node.net.SHARE_PERIOD)
...
SHARE_PERIOD=10, # seconds for BTC...

So... I would guess that it's a 10 sec resolution?

Give me Btc: 1BRkf5bwSVdGCyvu4SyYBiJjEjbNiAQoYd Mine on my node: http://ask.gxsnmp.org:9332/
Searinox
Member
**
Offline Offline

Activity: 100

Do you like fire? I'm full of it.


View Profile
May 06, 2013, 07:13:50 PM
 #5287

For the first time in a month of mining on p2pool, the page is saying "Payout if a block were found now: 0 BTC". This is in spite of the hashrate being shown normal and DOAs/orphans next to nonexistent. And about an hour ago it was showing a non-zero payment. I restarted the entire btc, p2pool, bfgminer ensemble but it's still showing 0. Why does this happen?

Do you have any peer connections?
...I have them right now. And my payout's back to normal. I'm not sure about before. If it happens again, I'll check.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
May 06, 2013, 07:27:19 PM
 #5288

For the first time in a month of mining on p2pool, the page is saying "Payout if a block were found now: 0 BTC". This is in spite of the hashrate being shown normal and DOAs/orphans next to nonexistent. And about an hour ago it was showing a non-zero payment. I restarted the entire btc, p2pool, bfgminer ensemble but it's still showing 0. Why does this happen?

Do you have any peer connections?
...I have them right now. And my payout's back to normal. I'm not sure about before. If it happens again, I'll check.

Do you have a pretty low hash rate? If you don't get a share every 24 hours, your payout will drop to zero at times.

Wow, I didn't know that existed. That makes something I'm trying to do a lot easier.

Yep, useful. What time period are those stats over? In particular I mean the miner_hash_rates and miner_dead_hash_rates. I need them over a reasonably short period for alarming to be able to react if a miner goes away.
Code:
def get_local_stats():
...
   lookbehind = min(node.tracker.get_height(node.best_share_var.value), 3600//node.net.SHARE_PERIOD)
...
SHARE_PERIOD=10, # seconds for BTC...

So... I would guess that it's a 10 sec resolution?


No, one hour (3600 seconds).

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
daemondazz
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 06, 2013, 08:14:07 PM
 #5289


Code:
def get_local_stats():
...
   lookbehind = min(node.tracker.get_height(node.best_share_var.value), 3600//node.net.SHARE_PERIOD)
...
SHARE_PERIOD=10, # seconds for BTC...

So... I would guess that it's a 10 sec resolution?

No, one hour (3600 seconds).

Yeah, that'll be pulling out the last 360 samples - at 10 seconds each for an hour in total.

Perfect! Thanks!

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
centove
Full Member
***
Offline Offline

Activity: 194


View Profile
May 06, 2013, 08:34:20 PM
 #5290

For the first time in a month of mining on p2pool, the page is saying "Payout if a block were found now: 0 BTC". This is in spite of the hashrate being shown normal and DOAs/orphans next to nonexistent. And about an hour ago it was showing a non-zero payment. I restarted the entire btc, p2pool, bfgminer ensemble but it's still showing 0. Why does this happen?

Do you have any peer connections?
...I have them right now. And my payout's back to normal. I'm not sure about before. If it happens again, I'll check.

Do you have a pretty low hash rate? If you don't get a share every 24 hours, your payout will drop to zero at times.

Wow, I didn't know that existed. That makes something I'm trying to do a lot easier.

Yep, useful. What time period are those stats over? In particular I mean the miner_hash_rates and miner_dead_hash_rates. I need them over a reasonably short period for alarming to be able to react if a miner goes away.
Code:
def get_local_stats():
...
   lookbehind = min(node.tracker.get_height(node.best_share_var.value), 3600//node.net.SHARE_PERIOD)
...
SHARE_PERIOD=10, # seconds for BTC...

So... I would guess that it's a 10 sec resolution?


No, one hour (3600 seconds).
Oops... Well yeah I never claimed to be good with math Wink

Give me Btc: 1BRkf5bwSVdGCyvu4SyYBiJjEjbNiAQoYd Mine on my node: http://ask.gxsnmp.org:9332/
Tittiez
Hero Member
*****
Offline Offline

Activity: 686



View Profile
May 06, 2013, 10:17:16 PM
 #5291

I'm trying to set up P2Pool for an altcoin, but it is hanging at:
Code:
Testing bitcoind P2P connection to '127.0.0.1:19323'

What would cause this? I can see the node on the daemon.

Code:
{
        "addr" : "127.0.0.1:51311",
        "services" : "00000000",
        "lastsend" : 0,
        "lastrecv" : 1367878607,
        "conntime" : 1367878607,
        "version" : 0,
        "subver" : "",
        "inbound" : true,
        "releasetime" : 0,
        "startingheight" : -1,
        "banscore" : 0
    }
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
May 06, 2013, 10:25:33 PM
 #5292

I'm trying to set up P2Pool for an altcoin, but it is hanging at:
Code:
Testing bitcoind P2P connection to '127.0.0.1:19323'

What would cause this? I can see the node on the daemon.

Code:
{
        "addr" : "127.0.0.1:51311",
        "services" : "00000000",
        "lastsend" : 0,
        "lastrecv" : 1367878607,
        "conntime" : 1367878607,
        "version" : 0,
        "subver" : "",
        "inbound" : true,
        "releasetime" : 0,
        "startingheight" : -1,
        "banscore" : 0
    }

Setting the magic numbers in p2pool/bitcoin/networks.py incorrectly.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
May 06, 2013, 11:54:59 PM
 #5293

I get ---ERROR---

I use port 9554, yours may be different.

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.
daemondazz
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 07, 2013, 01:08:42 AM
 #5294


Code:
def get_local_stats():
...
   lookbehind = min(node.tracker.get_height(node.best_share_var.value), 3600//node.net.SHARE_PERIOD)
...
SHARE_PERIOD=10, # seconds for BTC...

So... I would guess that it's a 10 sec resolution?

No, one hour (3600 seconds).

Yeah, that'll be pulling out the last 360 samples - at 10 seconds each for an hour in total.

Perfect! Thanks!

Just to follow up on this, I've posted my nagios plugin on github: https://github.com/daemondazz/nagios-plugins

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
baloo_kiev
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 07, 2013, 02:58:04 PM
 #5295

I'd like to point out some basic difficulty-related considerations here, which I believe were not mentioned in this thread. Please correct me if I am wrong!

Here's how I suggest to determine desired share difficulty. Variance of miner's income depends both on his own share generation variance and the p2pool's block generation variance. Even if you have high hashrate and generate shares every minute or so, you still get payouts only from blocks found by p2pool. One familiar with statistics/probability theory may see that payout variance ((rms deviation) / (estimated value)) after mining for T hours is proportional to
Code:
variance ~ sqrt(((miner's estimated time to share) + (p2pool's estimated time to block)) / T)
At the time of this post, p2pool is running at ~800 GH/s with Bitcoin difficulty ~10M and share difficulty ~1500. At this rate, expected time to block is ~16 hours.
At default share difficulty, estimated time to share for a miner with 1 GH/s is ~1.8 hours, which gives him overall variance coefficient ~sqrt( 16 + 1.8 ). If the miner manually sets his share difficulty to 5000, it will become ~sqrt(16 + 6), which is only ~11% higher.
Similarly, for a miner with 10 GH/s time to share is 0.18 hours, so variance at default difficulty is ~sqrt(16 + 0.18). So he can set his difficulty to 35,000, which gives variance of ~sqrt(16 + 4.2), which is again only 12% higher than default.
Only when a miner's time to share is comparable to (say, 3-5 times smaller than) the p2pool's time to block, increase of share difficulty will have considerable impact on his variance.

Tl;dr: I suggest that reasonable share difficulty for a miner is such, that estimated time to share is a couple of times lower than the p2pool's time to block. Setting it lower will harm small miners (increase their variance) without any serious decrease of the miner's own variance. Setting it higher will increase the miner's own variance.

PGP: 6EC48BA7
Welcome to my p2pool: BTC
Richy_T
Legendary
*
Offline Offline

Activity: 1246


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
May 07, 2013, 03:12:22 PM
 #5296

I've been mining pretty well I thought but I didn't get a payout on the last block.

https://blockchain.info/block/000000000000006fdeafb19ca3c74baa5f31f1f36f98b79fb914229d1dc7fe9e

Also, the "Blocks found in last day" is showing a very old block

time   number   hash/explorer link   share
Thu May 02 2013 12:20:58 GMT-0500 (Central Daylight Time)   234219   000000000000003ca0bd661df02a9bba63fe0324b11c6c648a45d8b6b47adafb   →

Anyone know what's going on here?

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
centove
Full Member
***
Offline Offline

Activity: 194


View Profile
May 07, 2013, 03:15:51 PM
 #5297

I've been mining pretty well I thought but I didn't get a payout on the last block.

https://blockchain.info/block/000000000000006fdeafb19ca3c74baa5f31f1f36f98b79fb914229d1dc7fe9e

Also, the "Blocks found in last day" is showing a very old block

time   number   hash/explorer link   share
Thu May 02 2013 12:20:58 GMT-0500 (Central Daylight Time)   234219   000000000000003ca0bd661df02a9bba63fe0324b11c6c648a45d8b6b47adafb   →

Anyone know what's going on here?


Your node connected to any peers?

Give me Btc: 1BRkf5bwSVdGCyvu4SyYBiJjEjbNiAQoYd Mine on my node: http://ask.gxsnmp.org:9332/
Richy_T
Legendary
*
Offline Offline

Activity: 1246


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
May 07, 2013, 03:24:53 PM
 #5298

I've been mining pretty well I thought but I didn't get a payout on the last block.

https://blockchain.info/block/000000000000006fdeafb19ca3c74baa5f31f1f36f98b79fb914229d1dc7fe9e

Also, the "Blocks found in last day" is showing a very old block

time   number   hash/explorer link   share
Thu May 02 2013 12:20:58 GMT-0500 (Central Daylight Time)   234219   000000000000003ca0bd661df02a9bba63fe0324b11c6c648a45d8b6b47adafb   →

Anyone know what's going on here?


Your node connected to any peers?


From the graph, it looks so. However, I had turned QOS back on which may have been causing me issues before. Turned it back off now and we'll see how it goes. Then I need to try making p2pool high priority and see if it starts working then.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Richy_T
Legendary
*
Offline Offline

Activity: 1246


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
May 07, 2013, 03:56:53 PM
 #5299

Yep. It was that pesky QOS again. No idea why it would be causing issues, doesn't make much sense. P2Pool should still be getting bandwidth.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Searinox
Member
**
Offline Offline

Activity: 100

Do you like fire? I'm full of it.


View Profile
May 07, 2013, 07:03:49 PM
 #5300

Returning with an answer to yesterday's issue: my p2pool is again showing payout if a block were found now at 0 btc and I have 6 peers out 3 in. Why does it say i'd get 0?
Pages: « 1 ... 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 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 ... 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!