windpath
Legendary
Offline
Activity: 1258
Merit: 1027
|
|
December 11, 2014, 04:03:28 PM |
|
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.
|
|
|
|
idonothave
|
|
December 11, 2014, 04:10:48 PM |
|
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
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
December 11, 2014, 05:04:45 PM |
|
guide for windows ? any ? the bitcoind is taking ages to sync up, my windows bitcoind is sync'ed.
|
|
|
|
idonothave
|
|
December 11, 2014, 06:40:11 PM |
|
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
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
December 11, 2014, 07:26:42 PM |
|
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
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
|
December 11, 2014, 07:28:10 PM |
|
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
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
December 11, 2014, 08:04:00 PM |
|
nothing shows mate, the graphs etc .... but there wasn't any hashrate. let me try again
|
|
|
|
norgan
|
|
December 11, 2014, 08:29:42 PM |
|
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.
|
|
|
|
yslyung
Legendary
Offline
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
December 11, 2014, 08:41:34 PM |
|
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
Activity: 1258
Merit: 1027
|
|
December 11, 2014, 09:02:13 PM |
|
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
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
December 11, 2014, 11:43:01 PM |
|
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 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
|
|
December 12, 2014, 10:22:06 AM |
|
I like this one, it's clean & tidy - I use it on my DRK node 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.
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
|
December 12, 2014, 05:27:17 PM |
|
I like this one, it's clean & tidy - I use it on my DRK node 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
|
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
|
|
December 12, 2014, 05:39:30 PM |
|
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..... 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
|
|
|
|
lenny_
Legendary
Offline
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
|
|
December 12, 2014, 07:04:36 PM |
|
+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-)
|
|
|
|
GingerAle
Legendary
Offline
Activity: 1260
Merit: 1008
|
|
December 12, 2014, 08:08:21 PM |
|
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 ( ) But the more I look into p2p, I'm thinking I may have done something wrong.
|
|
|
|
windpath
Legendary
Offline
Activity: 1258
Merit: 1027
|
|
December 12, 2014, 08:15:38 PM |
|
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 ( ) 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
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
|
December 12, 2014, 08:50:17 PM |
|
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 ( ) 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: 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
Activity: 312
Merit: 100
Bcnex - The Ultimate Blockchain Trading Platform
|
|
December 12, 2014, 10:03:28 PM |
|
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
Activity: 312
Merit: 100
Bcnex - The Ultimate Blockchain Trading Platform
|
|
December 12, 2014, 10:05:44 PM |
|
In right about 24 hours my 7 S3+ have found 8 shares 1 orphaned. I did not think that was to bad.
|
|
|
|
|