carlo
|
|
June 06, 2011, 03:15:17 AM |
|
Hello, is there a php script to access the api stats ? I started to put some stats of miners on my website, also wanna do some more statistics with the values i get. I would be very happy if i get some more examples and ideas, cause im getting a bit frustrated right now Thx for your help. cheers carlo
|
|
|
|
[Tycho]
|
|
June 06, 2011, 04:11:01 AM |
|
is there a php script to access the api stats ? I started to put some stats of miners on my website, also wanna do some more statistics with the values i get. I would be very happy if i get some more examples and ideas, cause im getting a bit frustrated right now I would recommend using CURL for getting the API data and JSON parser for parsing it. Both are available as PHP extensions. Also you may use even easier ways to fetch the data. Can you be more specific about the problems with processing the API reply ?
|
Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks ! ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures ( NEW!). Third year in bitcoin business.
|
|
|
carlo
|
|
June 06, 2011, 04:13:34 AM |
|
thx for you ultra fast reply as always Do you sleep ? ^^ Its not your fault, im just to stupid to get curl working the right way ... i stoped now for a moment cause getting frustrated. Maybe sombody share his php script with me, need some examples cause im not the best programmer as you can see cheers caro
|
|
|
|
|
carlo
|
|
June 06, 2011, 04:48:17 AM |
|
yeah got it ... thx for giving me some more motivation.
|
|
|
|
teaserX
Newbie
Offline
Activity: 44
Merit: 0
|
|
June 06, 2011, 04:54:06 AM |
|
yeah got it ... thx for giving me some more motivation.
I've been playing around with that stuff too. Also APIs on mtgox.com and bitcoincharts.com PM me if you run into trouble.
|
|
|
|
carlo
|
|
June 06, 2011, 04:57:25 AM |
|
yeah nice, also interested in those stats.
maybe you can send me your scripts?
edit: is it possible to reset the stats (shares, stale) from an external webserver ?
|
|
|
|
[Tycho]
|
|
June 06, 2011, 05:11:45 AM |
|
is it possible to reset the stats (shares, stale) from an external webserver ? There is no such function yet, but it may be added.
|
Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks ! ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures ( NEW!). Third year in bitcoin business.
|
|
|
Lightspeed
|
|
June 06, 2011, 05:29:30 AM |
|
hey guys, after hashing for a few days solo I decided to switch to deepbit.net;
I have to say it was exceptionally easy to switch over my GPUs so many thanks to Tycho for the help (rich fucker hehe)
Anyway; How do I get my CPU mining? I have the official bitcoin program running solo still, since switching my poclbm clients was so easy..
edit: also I have converted my entire appartment into a bitcoin farm (I am deadly serious) I have even setup an LCD on a mounting bracket next do my apartment door so I can see my stats 24/7 from anywhere in the room
edit2: I am officially going to make a living 24/7 mining. This is awesome. I also have a FIXED powerbill here (@ $10/14 days) which is essentially FREE POWER. WOOT. I have studied my General Tenancy Agreement and Communal rules and am OK to proceed - a website or application that details my entire statistics for my internal network is what I need - anyone reccomend something?
edit3: I read that longpolling eliminates stale shares, I believe deepbit has this? yet I am still getting stale shares? whats up with that?
Cheers everyone
|
Overclocking = money? Greatest full time hobby ever! 1AR2eheP4nckS3tuzZHG6ARYndeddxmeDg
|
|
|
Veldy
Member
Offline
Activity: 98
Merit: 10
|
|
June 06, 2011, 05:34:31 AM |
|
Split the pool in two or more bells is my suggestion.
Do you understand how the attack works? Further, he has no real control about that. Who does he kick out of one pool? Will they move to the new pool? If they do, so what; he is still the operator. Nothing solved. What has changed recently, however is that instead of just two dominant pools, there are four major pools [one very new] and further, the attack you are worried about can only be theoretically executed when > than 50% of the hashing power of the network is in the hands of the attacker. In practice, to earn any significant money before discovered, the percentage would have to be a bit greater than 50%, not just barely over 50%. How much more? I cannot say. What I can say is that the scenario that spike deepbit above 50% when I was worried about it is much more difficult to orchestrate [but not impossible] due to the increased number of pools. Last check shows deepbit at perhaps 35% of the total network hashing power (rough estimate based on the pie chart ... the numbers are there if you want an exact amount). Now what you should worry about is why does the block/hour count seem to increase dramatically a day or two before the next difficulty increase? Somebody is putting massive hardware online and apparently strategically. Frankly, I don't think that is good for the network as it will normalize with difficulty increases, but drive smaller miners out at some point leaving heavy hitters spending loads of electricity for a low number of bitcoins [so, they only way for these heavy hitters to remain profitable is to drive up the price of the bitcoin through trading ... a potential bubble]. I REALLY would like if somebody was able to do the forensics to discover who these people are. Are they game changers [new custom hardware] or just very large number of GPUs [still not good]. Honest individual doing stupid things with enough money to burn that they don't care, or are they using bitcoin to take what they can and go. I am a cynic and thus expect the latter. Also, it seems that financial institutions have a stake in destroying bitcoin and so does nearly every government on Earth that collects income taxes. China comes to mind as a potential player. Big banks another. Digital mercenaries working in the interest of the federal reserve and IRS of the USA also come to mind (they don't even have to pay, since the large miner(s) could manipulate the market price fairly easily I think). AMD has a big stake as well, since they sell most of the cards used in mining; however they would be under obvious scrutiny for market manipulation. AMD is probably quite innocent in the matter, but enough money drives the sane in .... insane. Market cap of BTC [if all sold at the going rate] is $0.12BILLION ..or if you like $121MILLION better, then use that. Corruption and market manipulation become a much more likely reality as that number grows. At the moment, I think tearing apart the worth of the bitcoin economy is a bigger threat than the double spending attack [but of course, watch out for all avenues]. For those that dove into bitcoin mining on credit [building several large rigs], you took a huge risk of getting burned (obvious some have already made out like bandits, but most ... I doubt it).
|
If you have found my post helpful, please donate what you feel it is worth: 18vaZ4K62WiL6W2Qoj9AE1cerfCHRaUW4x
|
|
|
Veldy
Member
Offline
Activity: 98
Merit: 10
|
|
June 06, 2011, 05:38:27 AM |
|
hey guys, after hashing for a few days solo I decided to switch to deepbit.net;
I have to say it was exceptionally easy to switch over my GPUs so many thanks to Tycho for the help (rich fucker hehe)
Anyway; How do I get my CPU mining? I have the official bitcoin program running solo still, since switching my poclbm clients was so easy..
edit: also I have converted my entire appartment into a bitcoin farm (I am deadly serious) I have even setup an LCD on a mounting bracket next do my apartment door so I can see my stats 24/7 from anywhere in the room
edit2: I am officially going to make a living 24/7 mining. This is awesome. I also have a FIXED powerbill here (@ $10/14 days) which is essentially FREE POWER. WOOT. I have studied my General Tenancy Agreement and Communal rules and am OK to proceed - a website or application that details my entire statistics for my internal network is what I need - anyone reccomend something?
edit3: I read that longpolling eliminates stale shares, I believe deepbit has this? yet I am still getting stale shares? whats up with that?
Cheers everyone
I hope you didn't CHARGE all that equipment. This could sky rocket and you could win. This could crumble and you could lose it all. It could go stagnant and you won't earn enough to live on (as opposed to your investment). Far more dangerous than day trading used to be when people jumped from windows after losing everything. Don't be one of them.
|
If you have found my post helpful, please donate what you feel it is worth: 18vaZ4K62WiL6W2Qoj9AE1cerfCHRaUW4x
|
|
|
Lightspeed
|
|
June 06, 2011, 05:42:25 AM |
|
Veldy my friend, I am a lifetime geek, I started distributed computing on 1/1/2004 /w folding@home; if bitcoin somehow comepletely dies I am switching back to folding@home and keeping my hardware. Any money I spend in computer hardware only makes me happier as a person. This is win-win for me.
|
Overclocking = money? Greatest full time hobby ever! 1AR2eheP4nckS3tuzZHG6ARYndeddxmeDg
|
|
|
carlo
|
|
June 06, 2011, 05:59:25 AM Last edit: June 06, 2011, 06:37:23 AM by carlo |
|
Hello again, this time i need some help with json_decode of the stats of each worker. They are in a array but im to stupid to extract it. This is the code i used to get the Hashrate: $str = json_decode($contents); $value = $str->{'hashrate'}; echo $value How does it work for the array of workers ? 2nd question, how do i get the values of one specific worker ? Thx for you help. cheers carlo
|
|
|
|
dishwara
Legendary
Offline
Activity: 1855
Merit: 1016
|
|
June 06, 2011, 06:38:07 AM |
|
If you knew anything about statistics, Atroxes, you'd know that even right now there's already a good chance his pool finds a few blocks in a row, 51% is a myth.
Even with 40% he will get 6 blocks in a row 0.41% of the time meaning he only needs 244 attempts to succeed once. Is that in any way shape or form good for the health and security of Bitcoin? I seriously doubt Satoshi would be happy if he saw a client have this much of the total hashing speed, and it even arguably defeats the whole point of mining.
EDIT: And I understand that everyone is participating voluntarily it's just that I don't want to see us suffer even a single fraud attack which could potentially bring the whole thing down.
What if [Tycho] is really Satoshi Nakamoto himself ? I am the one, who accused directly that [Tycho] "WILL" bring down Bitcoin. http://forum.bitcoin.org/index.php?topic=9090But, the working style, speed, quick response, non stop increase in pool size, still he is BELOW 50% for the past 2-3 months, I think it is Satoshi Nakamoto himself running deepbit.net in alias form, [Tycho], so that NO OTHERS take down the bitcoin. If some one like US govt, try to take down bitcoin then any one think that Satoshi Nakamoto will just sit & do nothing? With the power of pool size [Tycho] has Satoshi Nakamoto can easily with out much effort can make bitcoin stay forever, who ever, what ever times attack bitcoin, to bring down bitcoin. Am i right? Some secrets must stay secret only, to protect everything.
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
|
June 06, 2011, 08:19:09 AM |
|
If you knew anything about statistics, Atroxes, you'd know that even right now there's already a good chance his pool finds a few blocks in a row, 51% is a myth.
Even with 40% he will get 6 blocks in a row 0.41% of the time meaning he only needs 244 attempts to succeed once. Is that in any way shape or form good for the health and security of Bitcoin? I seriously doubt Satoshi would be happy if he saw a client have this much of the total hashing speed, and it even arguably defeats the whole point of mining.
EDIT: And I understand that everyone is participating voluntarily it's just that I don't want to see us suffer even a single fraud attack which could potentially bring the whole thing down.
What if [Tycho] is really Satoshi Nakamoto himself ? I am the one, who accused directly that [Tycho] "WILL" bring down Bitcoin. http://forum.bitcoin.org/index.php?topic=9090But, the working style, speed, quick response, non stop increase in pool size, still he is BELOW 50% for the past 2-3 months, I think it is Satoshi Nakamoto himself running deepbit.net in alias form, [Tycho], so that NO OTHERS take down the bitcoin. If some one like US govt, try to take down bitcoin then any one think that Satoshi Nakamoto will just sit & do nothing? With the power of pool size [Tycho] has Satoshi Nakamoto can easily with out much effort can make bitcoin stay forever, who ever, what ever times attack bitcoin, to bring down bitcoin. Am i right? Some secrets must stay secret only, to protect everything.No way man. I'm Satoshi. So is Gavin. And Luke. AND YOU. We're all Satoshi, each and every one of us.
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
June 06, 2011, 08:46:57 AM |
|
Satoshi is in your mind, in your heart, in your spirit. D. Ishwara; stay away from that indian whiskey if you have been mining for 18 hours straight in Indian heat it does weird things with your paranoia
|
|
|
|
w0mbat
|
|
June 06, 2011, 09:33:01 AM |
|
we have reached >2100 Gh/s!
|
*** http://btcxc.info/ <-> Your source for everything around trading & mining Bitcoins! ***
|
|
|
dishwara
Legendary
Offline
Activity: 1855
Merit: 1016
|
|
June 06, 2011, 09:34:45 AM |
|
No comments.
Some secrets must stay secret only, to protect everything
I never used/use alcohol.
|
|
|
|
Uzza
Newbie
Offline
Activity: 35
Merit: 0
|
|
June 06, 2011, 09:51:19 AM |
|
A question Tycho, would it be possible to add total average income for a worker? So if a worker is active 8 hours one day, and 6 hours the next, it will show the total average income for those 14 active hours.
|
|
|
|
IwfWcf
Newbie
Offline
Activity: 1
Merit: 0
|
|
June 06, 2011, 12:09:04 PM |
|
all mesage I got in poclbm.exe are something like these(nothing else): 06/06/2011 20:00:07, warning: job finished, miner is idle 06/06/2011 20:00:10, warning: job finished, miner is idle 06/06/2011 20:00:11, warning: job finished, miner is idle 06/06/2011 20:00:14, warning: job finished, miner is idle 06/06/2011 20:00:16, warning: job finished, miner is idle 06/06/2011 20:00:19, warning: job finished, miner is idle 06/06/2011 20:00:23, long poll: new block 00000340c4c2551c 06/06/2011 20:00:23, warning: job finished, miner is idle 06/06/2011 20:00:23, warning: job finished, miner is idle 06/06/2011 20:00:26, warning: job finished, miner is idle 06/06/2011 20:00:29, warning: job finished, miner is idle 06/06/2011 20:00:32, warning: job finished, miner is idle 06/06/2011 20:00:34, warning: job finished, miner is idle 06/06/2011 20:00:37, warning: job finished, miner is idle the setting for bitcoin.exe and poclbm.exe are: start /DD:\Software\Bitcoin-0.3.22 bitcoin.exe -server start /DD:\Software\Bitcoin-0.3.22\poclbm_py2exe_20110428 poclbm.exe -v -w 512 -f 60 -d1 --host=pit.deepbit.net --port=8332 --user=xxx --pass=xxx --device=0 Can anyone tell me what problem is it?
|
|
|
|
|