Bitcoin Forum
May 26, 2020, 06:02:25 PM *
News: Latest Bitcoin Core release: 0.19.1 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2587069 times)
centove
Full Member
***
Offline Offline

Activity: 194
Merit: 100


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

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/
1590516145
Hero Member
*
Offline Offline

Posts: 1590516145

View Profile Personal Message (Offline)

Ignore
1590516145
Reply with quote  #2

1590516145
Report to moderator
1590516145
Hero Member
*
Offline Offline

Posts: 1590516145

View Profile Personal Message (Offline)

Ignore
1590516145
Reply with quote  #2

1590516145
Report to moderator
1590516145
Hero Member
*
Offline Offline

Posts: 1590516145

View Profile Personal Message (Offline)

Ignore
1590516145
Reply with quote  #2

1590516145
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1590516145
Hero Member
*
Offline Offline

Posts: 1590516145

View Profile Personal Message (Offline)

Ignore
1590516145
Reply with quote  #2

1590516145
Report to moderator
Tittiez
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



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

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: 516
Merit: 514


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

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: 1540
Merit: 1001



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

I get ---ERROR---

I use port 9554, yours may be different.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



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


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
Merit: 250


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

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: 1358
Merit: 1003


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


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

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
Merit: 100


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

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: 1358
Merit: 1003


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


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

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: 1358
Merit: 1003


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


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

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
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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


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

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?

Richy_T
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
May 07, 2013, 07:07:15 PM
 #5292

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Searinox
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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


View Profile
May 07, 2013, 07:09:51 PM
 #5293

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.
Could you explain more about earning shares? I've been mining for a month and until yesterday I never saw 0. What exactly is my node doing less of?

Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



View Profile WWW
May 07, 2013, 07:21:49 PM
 #5294

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.
Could you explain more about earning shares? I've been mining for a month and until yesterday I never saw 0. What exactly is my node doing less of?
What's your hashrate? Also, are you using a static payout address with the -a flag or using a bitcoin address for your miner's username?

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Searinox
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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


View Profile
May 07, 2013, 07:41:26 PM
 #5295

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.
Could you explain more about earning shares? I've been mining for a month and until yesterday I never saw 0. What exactly is my node doing less of?
What's your hashrate? Also, are you using a static payout address with the -a flag or using a bitcoin address for your miner's username?
Hashrate varies between 110 and 280 Mh/s with an average of 190 over a month of nonstop mining. I'm using bitcoin-qt's address to send the payment and not the -a flag.

Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



View Profile WWW
May 07, 2013, 07:44:53 PM
 #5296

Hashrate varies between 110 and 280 Mh/s with an average of 190 over a month of nonstop mining. I'm using bitcoin-qt's address to send the payment and not the -a flag.
I highly recommend specifying a static address. If you don't, p2pool will pick different addresses when you restart the Bitcoin client and your share count will start over with the new address.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Searinox
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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


View Profile
May 07, 2013, 07:53:07 PM
Last edit: May 07, 2013, 08:38:52 PM by Searinox
 #5297

Hashrate varies between 110 and 280 Mh/s with an average of 190 over a month of nonstop mining. I'm using bitcoin-qt's address to send the payment and not the -a flag.
I highly recommend specifying a static address. If you don't, p2pool will pick different addresses when you restart the Bitcoin client and your share count will start over with the new address.
When I first started P2Pool, it generated a new, dedicated address to mine to. Ever since, and including during the 0btc estimates, it has been mining only to that address. I have no other addresses in my wallet. Also, the sharecount ins't lost when I reset P2Pool, it happens spontaneously.

maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454
Merit: 250


View Profile
May 07, 2013, 08:37:17 PM
 #5298

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.
Could you explain more about earning shares? I've been mining for a month and until yesterday I never saw 0. What exactly is my node doing less of?

your node is unlucky at the moment. When you hash, you're basically guessing a number. Sometimes you'll guess the right number (and solve a share - kind of like solving a block), and sometimes you'll guess a wrong number. As difficulty goes up, it's harder and harder to guess the right number. When you guess the right number, you get credit for a share which then means you get paid every time p2pool finds a block over the next day (currently for p2pool, but this can change).

Your node has been unlucky at guessing numbers lately, so you haven't gotten a share and won't get paid until you do. Sometimes you'll get luck and guess two in a row, in which case you'll get paid 2x more than if you found just one share.

regarding static address: p2pool generates one the first time you run it, and as long as there is a "p2pool" address in your wallet it will mine to that one. It wo't create a new one with  new address unless you wipe your wallet.
Searinox
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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


View Profile
May 07, 2013, 08:39:23 PM
 #5299

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?

I believe you earn shares in quantum increments. Until you earn a share, it will be at zero.
Could you explain more about earning shares? I've been mining for a month and until yesterday I never saw 0. What exactly is my node doing less of?

your node is unlucky at the moment. When you hash, you're basically guessing a number. Sometimes you'll guess the right number (and solve a share - kind of like solving a block), and sometimes you'll guess a wrong number. As difficulty goes up, it's harder and harder to guess the right number. When you guess the right number, you get credit for a share which then means you get paid every time p2pool finds a block over the next day (currently for p2pool, but this can change).

Your node has been unlucky at guessing numbers lately, so you haven't gotten a share and won't get paid until you do. Sometimes you'll get luck and guess two in a row, in which case you'll get paid 2x more than if you found just one share.

regarding static address: p2pool generates one the first time you run it, and as long as there is a "p2pool" address in your wallet it will mine to that one. It wo't create a new one with  new address unless you wipe your wallet.
Unlucky sounds about right. I haven't gotten lucky at all the past few days. Glad that explains it.

daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
May 08, 2013, 12:18:35 AM
 #5300

Yeah, it seems to me that the last week has been very unlucky - sort of corresponds to ASCIminer bringing more power online, but I don't know if that's just coincidental or not.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
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 ... 814 »
  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!