Bitcoin Forum
December 11, 2016, 02:26:29 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 [431] 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2035307 times)
norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 03:52:56 AM
 #8601

is there any way to store stats in a db or even flat file so that when you restart a node you don't loose the share, uptime and hashing stats of the pool?

I imagine we could pull the json feeds into a db table then make the front end pull those stats from there but hoping there is a simpler way.

Uptime needs to reset when you restart the node, that's a basic principle of "uptime", you have to be "up" the whole time...

I have not gotten to setting up MySQL yet, and all the data you want exists; my node displays data from 4 sources; Network data from P2Pool and Bitcoind, Recent P2Pool blocks from BlockChain.info, and miner shares from P2Pool's log file.

Node stats page: http://mining.coincadence.com/

Individual miner stats page: http://mining.coincadence.com/miner.php?id=19vXrwKGUhK4cCU8tA4kWZgbChcmh9a6qj

There is still lots of work to do, but I'll take progress over perfection Wink

ok sure uptime maybe not but if you run another instance of p2pool up along side and it comes up immediately then your stats still reset and your uptime is still 100%. mainly though the shares, efficiency etc is what I want to keep. I was also looking to the server stats and considering presenting server uptime as well as node uptime to show users that the server has been 100% available and it was only the node that was restarted.
how did you get that nice smooth looking graph? keen to make mine a bit nicer.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481423189
Hero Member
*
Offline Offline

Posts: 1481423189

View Profile Personal Message (Offline)

Ignore
1481423189
Reply with quote  #2

1481423189
Report to moderator
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 15, 2014, 04:02:01 AM
 #8602

is there any way to store stats in a db or even flat file so that when you restart a node you don't loose the share, uptime and hashing stats of the pool?

I imagine we could pull the json feeds into a db table then make the front end pull those stats from there but hoping there is a simpler way.

Uptime needs to reset when you restart the node, that's a basic principle of "uptime", you have to be "up" the whole time...

I have not gotten to setting up MySQL yet, and all the data you want exists; my node displays data from 4 sources; Network data from P2Pool and Bitcoind, Recent P2Pool blocks from BlockChain.info, and miner shares from P2Pool's log file.

Node stats page: http://mining.coincadence.com/

Individual miner stats page: http://mining.coincadence.com/miner.php?id=19vXrwKGUhK4cCU8tA4kWZgbChcmh9a6qj

There is still lots of work to do, but I'll take progress over perfection Wink

ok sure uptime maybe not but if you run another instance of p2pool up along side and it comes up immediately then your stats still reset and your uptime is still 100%. mainly though the shares, efficiency etc is what I want to keep. I was also looking to the server stats and considering presenting server uptime as well as node uptime to show users that the server has been 100% available and it was only the node that was restarted.
how did you get that nice smooth looking graph? keen to make mine a bit nicer.

Agreed on the uptime points, but whenever I kill my existing node process (having started a new instance of P2Pool first) it still takes a minute for my miners to connect on the new process, your right, it would be great to figure out a way to persist incoming hash power across instances of P2Pool on the same server.

The main graph is from the "Node Status" front end:

Live: http://mining.coincadence.com:9332/static/node-status/

Source: https://github.com/johndoe75/p2pool-node-status

The "miner stats" graph, which includes expected payout was put together by jonnybravo0311

Edit:

I keep the 3 major open source front ends live on my server (unedited), both as a reference for my development and a way for existing P2Pool miners to see a confirmation of what they are familiar with.

Default front end: http://mining.coincadence.com:9332/static/original/
Source: https://github.com/forrestv/p2pool/tree/master/web-static

Node Status front end: http://mining.coincadence.com:9332/static/node-status/
Source: https://github.com/johndoe75/p2pool-node-status

Extended front end: http://mining.coincadence.com:9332/static/extended/
Source: https://github.com/hardcpp/P2PoolExtendedFrontEnd

They are all publicly available in the footer link....


norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 05:05:05 AM
 #8603



Agreed on the uptime points, but whenever I kill my existing node process (having started a new instance of P2Pool first) it still takes a minute for my miners to connect on the new process, your right, it would be great to figure out a way to persist incoming hash power across instances of P2Pool on the same server.

The main graph is from the "Node Status" front end:

Live: http://mining.coincadence.com:9332/static/node-status/

Source: https://github.com/johndoe75/p2pool-node-status

The "miner stats" graph, which includes expected payout was put together by jonnybravo0311

Edit:

I keep the 3 major open source front ends live on my server (unedited), both as a reference for my development and a way for existing P2Pool miners to see a confirmation of what they are familiar with.

Default front end: http://mining.coincadence.com:9332/static/original/
Source: https://github.com/forrestv/p2pool/tree/master/web-static

Node Status front end: http://mining.coincadence.com:9332/static/node-status/
Source: https://github.com/johndoe75/p2pool-node-status

Extended front end: http://mining.coincadence.com:9332/static/extended/
Source: https://github.com/hardcpp/P2PoolExtendedFrontEnd

They are all publicly available in the footer link....



great thanks. I saw the extended and default front end but not the node status stuff. will check it out.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 15, 2014, 05:23:12 AM
 #8604

is there any way to store stats in a db or even flat file so that when you restart a node you don't loose the share, uptime and hashing stats of the pool?

I imagine we could pull the json feeds into a db table then make the front end pull those stats from there but hoping there is a simpler way.

There's already a db afaik
Maybe your directory isn't writable

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

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 06:20:07 AM
 #8605

is there any way to store stats in a db or even flat file so that when you restart a node you don't loose the share, uptime and hashing stats of the pool?

I imagine we could pull the json feeds into a db table then make the front end pull those stats from there but hoping there is a simpler way.

There's already a db afaik
Maybe your directory isn't writable

what directory?

"p2pool folder"/data? it is writable and there is data in it but it still seems to reset after you restart the node.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
May 15, 2014, 06:25:44 AM
 #8606

Uptime and share count are cleared when u reset. Hashing data (graphs) are stored, shares too.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 06:34:39 AM
 #8607

Uptime and share count are cleared when u reset. Hashing data (graphs) are stored, shares too.

thanks for clarifying! Smiley

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 06:36:26 AM
 #8608

right, now the https://github.com/johndoe75/p2pool-node-status runs fine on the node but won't display anything when run from an external web server even when the url is entered in the Config file.

Has anyone run this on a separate web server successfully? anything special you had to do?

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
andmax
Jr. Member
*
Offline Offline

Activity: 41


View Profile
May 15, 2014, 11:43:49 AM
 #8609

If anyone is thinking of buying a Antminer S2 from Bitmain in the next couple of weeks I have a couple of US$400 off vouchers I can donate, you need an account with Bitmain so I can transfer them over.

Andrew  Grin
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 15, 2014, 01:15:53 PM
 #8610

right, now the https://github.com/johndoe75/p2pool-node-status runs fine on the node but won't display anything when run from an external web server even when the url is entered in the Config file.

Has anyone run this on a separate web server successfully? anything special you had to do?

Look for:

Code:
var api_url= "";

in index.html and try setting that...

norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 15, 2014, 01:50:13 PM
 #8611

right, now the https://github.com/johndoe75/p2pool-node-status runs fine on the node but won't display anything when run from an external web server even when the url is entered in the Config file.

Has anyone run this on a separate web server successfully? anything special you had to do?

Look for:

Code:
var api_url= "";

in index.html and try setting that...

Yeah I found and set that still no luck unfortunately

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 16, 2014, 03:46:31 AM
 #8612

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 16, 2014, 03:57:29 AM
 #8613

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

I just query that wallet once in a while

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

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 16, 2014, 04:29:55 AM
 #8614

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

I just query that wallet once in a while

the wallet specified in the -a argument?

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 16, 2014, 04:52:09 AM
 #8615

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

I just query that wallet once in a while

the wallet specified in the -a argument?

No like the nmc wallet to see if the balance increased

Or parse the log files

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

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 16, 2014, 05:22:42 AM
 #8616

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

I just query that wallet once in a while

the wallet specified in the -a argument?

No like the nmc wallet to see if the balance increased

Or parse the log files

right! well in that case I must have hit a block only days after running up my p2pool node since I have a payout in all my merged wallets. I wasn't sure at that stage as I thought it was just pay per share type payment. that's pretty cool on only 36gh/s Smiley

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 16, 2014, 05:43:29 AM
 #8617

so how do you know if your node solved a block? I got an initial dump of alt coins when I first set up the merged mining and not anything since. I've been told that those don't pay unless you hit a block and you are effectively solo mining on them.
So does that mean I actually solved a block? and how the hell do you read the blockchain to figure it out?

I just query that wallet once in a while

the wallet specified in the -a argument?

No like the nmc wallet to see if the balance increased

Or parse the log files

right! well in that case I must have hit a block only days after running up my p2pool node since I have a payout in all my merged wallets. I wasn't sure at that stage as I thought it was just pay per share type payment. that's pretty cool on only 36gh/s Smiley

All your coins got a block? I'm not aware that the merged coins were merged mined across each other. As in you find a good hash but it can apply to more than one coin. I guess it can though. I'm guessing you hit an nmc and since it's the hardest it counted for all of them.

Open their qt you should see your block plus transaction fees

Yup you're solo mining, the coins are easier than Bitcoin but great luck on 36 ghs

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

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 16, 2014, 06:21:03 AM
 #8618



All your coins got a block? I'm not aware that the merged coins were merged mined across each other. As in you find a good hash but it can apply to more than one coin. I guess it can though. I'm guessing you hit an nmc and since it's the hardest it counted for all of them.

Open their qt you should see your block plus transaction fees

Yup you're solo mining, the coins are easier than Bitcoin but great luck on 36 ghs

NMC shows a transaction on 5/4/2014 +0.01331598 NMC Address MxoBdy13H7P9zxfgXXhz9piUkgQFgL8nGz

all of my coins IXC, NMC and DVC got a pay out at the same time.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
JoeGruff
Member
**
Offline Offline

Activity: 67


View Profile
May 16, 2014, 07:06:54 AM
 #8619

I think I know the answer to this but I just wanna ask right out:

If I find some shares with my P2Pool node and then I turn it off for a while, the btc will still be credited to me at some point right?

If there are donations while it is not on I won't get any?
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
May 16, 2014, 07:16:00 AM
 #8620

I think I know the answer to this but I just wanna ask right out:

If I find some shares with my P2Pool node and then I turn it off for a while, the btc will still be credited to me at some point right?

If there are donations while it is not on I won't get any?

Yes to the first, I don't see why you wouldn't get the second since your address will be in the list.

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
Pages: « 1 ... 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 [431] 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 ... 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!