Bitcoin Forum
April 26, 2024, 10:08:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 [564] 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 11, 2014, 04:03:28 PM
 #11261

Is it able to change any settings of p2pool via api or other way instead of restarting the main service with each little change doing ctrl+c?
P2pool not have any API, what you want to change?
You can change code, start node again and then kill old instance if you not want to wait.

It is possible to run two instances (the same net) simultaneously?

Yes, great for starting a new instance before killing the old one to reduce down time. However, the second instance will not bind to the port until the first is killed.
1714169318
Hero Member
*
Offline Offline

Posts: 1714169318

View Profile Personal Message (Offline)

Ignore
1714169318
Reply with quote  #2

1714169318
Report to moderator
1714169318
Hero Member
*
Offline Offline

Posts: 1714169318

View Profile Personal Message (Offline)

Ignore
1714169318
Reply with quote  #2

1714169318
Report to moderator
1714169318
Hero Member
*
Offline Offline

Posts: 1714169318

View Profile Personal Message (Offline)

Ignore
1714169318
Reply with quote  #2

1714169318
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714169318
Hero Member
*
Offline Offline

Posts: 1714169318

View Profile Personal Message (Offline)

Ignore
1714169318
Reply with quote  #2

1714169318
Report to moderator
1714169318
Hero Member
*
Offline Offline

Posts: 1714169318

View Profile Personal Message (Offline)

Ignore
1714169318
Reply with quote  #2

1714169318
Report to moderator
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 11, 2014, 04:10:48 PM
 #11262

Is it able to change any settings of p2pool via api or other way instead of restarting the main service with each little change doing ctrl+c?
P2pool not have any API, what you want to change?
You can change code, start node again and then kill old instance if you not want to wait.

It is possible to run two instances (the same net) simultaneously?

Yes, great for starting a new instance before killing the old one to reduce down time. However, the second instance will not bind to the port until the first is killed.

Good to know. Thank You very much for such info.
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 11, 2014, 05:04:45 PM
 #11263

guide for windows ? any ? the bitcoind is taking ages to sync up, my windows bitcoind is sync'ed.
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 11, 2014, 06:40:11 PM
 #11264

windows seems to do fine, but my getwork latency stats are terrible 3.5 sec average  and it should be less then .1

Try to run bitcoind on another machine with linux in the same network. p2pool can then connect that machine if You solve latencies there.
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 11, 2014, 07:26:42 PM
 #11265

guide for windows ? any ? the bitcoind is taking ages to sync up, my windows bitcoind is sync'ed.

ok got windows version running, now how to mod the interface ? i found some nice ones on git but don't really know how to add/implement it.

i tried to use this https://github.com/justino/p2pool-ui-punchy but no success
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 11, 2014, 07:28:10 PM
 #11266

guide for windows ? any ? the bitcoind is taking ages to sync up, my windows bitcoind is sync'ed.

ok got windows version running, now how to mod the interface ? i found some nice ones on git but don't really know how to add/implement it.

i tried to use this https://github.com/justino/p2pool-ui-punchy but no success
You just drop it into your web-static folder if you want to replace the default one.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 11, 2014, 08:04:00 PM
 #11267

nothing shows mate, the graphs etc .... but there wasn't any hashrate.
let me try again
norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
December 11, 2014, 08:29:42 PM
 #11268

nothing shows mate, the graphs etc .... but there wasn't any hashrate.
let me try again
I use my front end and have tested it on windows as well as on a separate server. I found some of the json code in the alternate fonts ends less than perfect.

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
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 11, 2014, 08:41:34 PM
 #11269

nothing shows mate, the graphs etc .... but there wasn't any hashrate.
let me try again

works now thx ... any help on how to add own content ? seems like only html is allowed ?

i.e i wanna load my own jpg or png file to Load additional content onto the page.

here's my little p2pool captminerp2pool.ddns.net:9332 that i just made. looking forward to improve it.

many TIA for helping out. Will be adding more hashrates to the network in a bit.

windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 11, 2014, 09:02:13 PM
 #11270

nothing shows mate, the graphs etc .... but there wasn't any hashrate.
let me try again

works now thx ... any help on how to add own content ? seems like only html is allowed ?

i.e i wanna load my own jpg or png file to Load additional content onto the page.

here's my little p2pool captminerp2pool.ddns.net:9332 that i just made. looking forward to improve it.

many TIA for helping out. Will be adding more hashrates to the network in a bit.



HTML and JS if your going to run it on p2pools built in webserver, you can move the whole front end outside of the p2pool directory by adjusting the paths in the javascript, load up Apache (WAMP or really whatever), and run whatever you want...
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 11, 2014, 11:43:01 PM
 #11271

nothing shows mate, the graphs etc .... but there wasn't any hashrate.
let me try again

thx wind, i will continue to learn more from you guys & hope to get somewhere. just noticed the network hashrate jumped up & i added more power to it. hope it helps Smiley

c'mon time to catch a few nice blocks !

for those who are located near to me (asia) do come join in @ captminerp2pool.ddns.net:9332

works now thx ... any help on how to add own content ? seems like only html is allowed ?

i.e i wanna load my own jpg or png file to Load additional content onto the page.

here's my little p2pool captminerp2pool.ddns.net:9332 that i just made. looking forward to improve it.

many TIA for helping out. Will be adding more hashrates to the network in a bit.



HTML and JS if your going to run it on p2pools built in webserver, you can move the whole front end outside of the p2pool directory by adjusting the paths in the javascript, load up Apache (WAMP or really whatever), and run whatever you want...
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
December 12, 2014, 10:22:06 AM
 #11272

i tried to use this https://github.com/justino/p2pool-ui-punchy but no success

I like this one, it's clean & tidy - I use it on my DRK node  Cool

Just got back online after nearly two days of no electricity - high winds knocked everything out here......sorry to anyone who was mining on my nodes.

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 12, 2014, 05:27:17 PM
 #11273

i tried to use this https://github.com/justino/p2pool-ui-punchy but no success

I like this one, it's clean & tidy - I use it on my DRK node  Cool

Just got back online after nearly two days of no electricity - high winds knocked everything out here......sorry to anyone who was mining on my nodes.
Welcome back... glad to see you survived the weather bomb / end-of-days Smiley

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
December 12, 2014, 05:39:30 PM
 #11274

Just wasted 4 hours of my life updating all my S3's to the latest firmware that was supposed to fix the last broken firmware not being able to do a factory reset, only to watch them all slowly drop off into oblivion..... Roll Eyes Not only that, but I was unable to get ckolivas p2pool binary installed on them either. Just rolled back to the previous broken firmware & everything is fine again. Just hope I don't actually need to reset them.......

I give up on Bitmain, really. Once again they have released another firmware that beaks their miners, as they did with the S2 & S4. They seem to just cobble something together & throw it out there in the hope that it works, instead of testing it first to ensure that it actually does work.

Thank the cyber gods for Spondoolies  Smiley

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 12, 2014, 07:04:36 PM
 #11275

+1

this

Anyone is able to develop that?

I was thinking, how to "pull  back" small miners (all miners?) to P2Pool and this is some assumptions for new version of share chain:
- we have 3-5 separate share chains
- each chain has own min and max share power/diff (let say sc1 is from 1k to 10k, sc2 11k-100k, 101k-1M etc)
- each share have flag, that tells it is already used/paid or not
- when user find a share in one of lower chains, earlier share is marked as used and power of new share and old share is summarized (we can`t pay from lowest chain directly because of dust threshold) 
- once power or his share reach chain threshold he need to find one stronger share to bump it to higher chain till it reach one that can be paid
- each miner (payout address) starts in highest chain for 1-10 mins that node can recognize its hash rate and select proper chain/diff for him
- goal is, that every miner found share every 1/10 -1/2 block ETA time

Pros:
- share chain length can be reduced because of "summing" thing, every miner can/need have 2 active shares in each chain, no more need
- no more "wasted work" when block time exceeds share chain length - new share sum power of last share and current, oldest share can be removed from payout computations
- virtually any miner can mine
- big miners are in high power chains that small miners can easily participate in mining

Cons:
- more P2P data overhead (more chains to transmit)
- more CPU overhead: more data to analyze to create payout tx, more job to be done when share found


Sadly, I`m too small in Python tot try implement that.

@forrestv: can this work? B-)

DARKNET MARKETS >> https://DARKNETMARKETS.COM
GingerAle
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
December 12, 2014, 08:08:21 PM
 #11276

Okay, this is probably an idiot question, but here it goes. I really support the whole concept behind P2p, so I tried to mine in this pool.

I had low ping with coincadence.com, so I pointed my miner their...

now, all I did was point my miner their via cgminer.... if I'm pointing to a node, do I need to run an instance of p2p and bitcoind local?

On the stats page I was getting a hashrate, but on my cgminer output I was getting "share accepted" once every blue moon, and instead I was getting a lot of "stop work requests".

I found a small non-p2p pool with low ping and pointed their, and saw cgminer start spitting out accepted shares constantly.

NOw, I assume this is because the p2p pool has a a bajillion users, whereas the non-p2p pool I found has ~200, so my miner was really only getting a smaller amount of work on the p2p pool (Huh)

But the more I look into p2p, I'm thinking I may have done something wrong.

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 12, 2014, 08:15:38 PM
 #11277

Okay, this is probably an idiot question, but here it goes. I really support the whole concept behind P2p, so I tried to mine in this pool.

I had low ping with coincadence.com, so I pointed my miner their...

now, all I did was point my miner their via cgminer.... if I'm pointing to a node, do I need to run an instance of p2p and bitcoind local?

On the stats page I was getting a hashrate, but on my cgminer output I was getting "share accepted" once every blue moon, and instead I was getting a lot of "stop work requests".

I found a small non-p2p pool with low ping and pointed their, and saw cgminer start spitting out accepted shares constantly.

NOw, I assume this is because the p2p pool has a a bajillion users, whereas the non-p2p pool I found has ~200, so my miner was really only getting a smaller amount of work on the p2p pool (Huh)

But the more I look into p2p, I'm thinking I may have done something wrong.

This sounds like expected behavior.

Because the p2pool share chain is much faster then the bitcoin blockchain the stop work requests happen much more frequently.

You do not need to run bitcoind or p2pool locally to mine on someone elses node, however if you have the resources to set it up it is the most efficient way to mine on p2pool.

Shares in p2pool have a much higher difficulty target then with a traditional pool, you will still earn the about the same (and in many cases a little more) compared to a traditional pool. Most nodes will give you an expected time to share (give it a while for your hashrate to report correctly), this expected time is subject to luck/variance so you will occasionally find share much faster, and occasionally much slower....

Welcome to p2pool!
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 12, 2014, 08:50:17 PM
 #11278

Okay, this is probably an idiot question, but here it goes. I really support the whole concept behind P2p, so I tried to mine in this pool.

I had low ping with coincadence.com, so I pointed my miner their...

now, all I did was point my miner their via cgminer.... if I'm pointing to a node, do I need to run an instance of p2p and bitcoind local?

On the stats page I was getting a hashrate, but on my cgminer output I was getting "share accepted" once every blue moon, and instead I was getting a lot of "stop work requests".

I found a small non-p2p pool with low ping and pointed their, and saw cgminer start spitting out accepted shares constantly.

NOw, I assume this is because the p2p pool has a a bajillion users, whereas the non-p2p pool I found has ~200, so my miner was really only getting a smaller amount of work on the p2p pool (Huh)

But the more I look into p2p, I'm thinking I may have done something wrong.
Not stupid questions at all...

If you point your miners to a remote node (like windpath's), you do not need to locally run an instance of p2pool or even bitcoind.  All you need is a valid bitcoin wallet address to which your portion of the block reward can be paid when a block is found.

The reason you see "share accepted" only once in a blue moon on a p2pool node vs all the time on a regular node has to do with the share difficulty.  If you connect to a p2pool node using only your bitcoin wallet address, you will be assigned a share difficulty by the pool.  The pool determines share difficulty based upon its total hashing power.  You can override this if you want by using +XXXX at the end of your wallet address.  For example, if you put 1DevLdogN52pHdjZnsgi4HzreFDB4ZHVre+500 as your username, you're telling the node that you wish it to consider all shares from your miner of difficulty 500 or more.  The lower that number, the more "share accepted" messages you'll see.

Remember, however, that those low difficultly shares mean absolutely squat.  Their only purpose is to give you visual reassurance that your miners are actually submitting work to the node.

A typical traditional pool will assign you a variable difficulty.  For example, if you were to mine on ckolivas' solo pool, that pool dynamically adjusts the share difficulty based upon your hash rate.  Again, and especially on his solo pool, those low difficulty shares mean nothing.  There are other payout methodologies and share difficulty settings in use, so it can get confusing.

Back to p2pool, the only share you submit that matters is one that at least matches the target difficulty of the share chain.  If it does, then your share is added to the chain and if that share happens to be in the payout list when the pool finds a block, you get your coin.  Right now, that difficulty is just about 10 million.  P2Pool constantly adjusts the share difficulty to try and maintain an average of 30 seconds per share added to the chain (just like Bitcoin adjusts its difficulty every 2016 blocks to try and keep the average block time of 10 minutes).  

People have different views on how much hash rate you should have to be mining on p2pool.  A good rule of thumb I use is "do I have a high enough hash rate to expect to find 1 share in the average amount of time it would take p2pool to solve 3 blocks".  If yes, then you would expect to have at least 1 share on the chain for every block p2pool finds.  If we use this rule, we can figure out how much hashing power constitutes the entry point:
Code:
Difficulty * 2^32 / hash rate = expected time to find a share
10436491.83 * 2^32 / hash rate = 179100
hash rate = ~250GH/s
Keep in mind that the difficulty is constantly changing and the p2pool total hash rate is constantly changing.  For example, while I was typing this reply, the expected time to block for p2pool went from over 16 hours to under 15.  This has an effect on the above calculations, which in turn changes the baseline for how much hashing power you should have.

So, how much hashing power should you really have on p2pool?  An S3+ typically does it... an S2 is better... an SP20 even better still.  If you've got anything under an S3 (like an old S1), then expect to see a ton of variance where you'll go for a number of blocks with no payout at all because you haven't found any shares.  This is one of the primary issues p2pool has - the more hashing power the pool has, the greater the variance experienced by individual miners.  As you can see from the first post on this page, people have been trying to find a solution for a long time.

Sorry about the long-winded post.  I tried to give you as much information as possible to help you better make a decision on whether p2pool is the right choice for you.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 12, 2014, 10:03:28 PM
 #11279

In the last post are you saying that each miner should be a S3+ or higher per miner or a total of each user hash rates of all miners assigned the one payout address. I have 7 s3+ mining on my node and there all using the same Pay out address.  this seems to work ok, or would it be better to assign each miner there own payout address.

I also have 5 S2 that are pointing to a other pool. that seem to average 8-9 blocks a day so they make about double what my 7 S3+ do on p2pool node.


jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 12, 2014, 10:05:44 PM
 #11280

In right about 24 hours my 7 S3+ have found 8 shares 1  orphaned. I did not think that was to bad.

Pages: « 1 ... 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 [564] 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!