A1BITCOINPOOL
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 14, 2012, 04:05:40 PM |
|
I have someone working on it. Who ever got in, made a real mess of things.
|
|
|
|
heinz
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 172
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 14, 2012, 04:07:25 PM |
|
Easiest setup is Wamp that I have found.
|
|
|
|
A1BITCOINPOOL
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 14, 2012, 04:10:19 PM |
|
What is wamp.
|
|
|
|
heinz
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 172
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 14, 2012, 04:22:52 PM |
|
WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database.
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 14, 2012, 04:32:13 PM |
|
you dont need mysql.. just install apache and php, should work pretty easy..
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
bitlane
Internet detective
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 462
Merit: 250
I heart thebaron
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 21, 2012, 08:58:56 PM |
|
Hey Jim, just a quick question if I could..... I am still using the 'account' field for the 'listtransactions' call as it's common to both SEND & RECEIVE (and obviously makes the array possible with ease), but have come across a small limitation... (connected to my Solo Mining Wallet/Bitcoind) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fmembers.shaw.ca%2Fbitlane%2Ftx.jpg&t=665&c=n74jn2WlM3BpCA) I am able to get the label for incoming transactions but not for outgoing. In the list above, you can see that the 4 last transactions have labels as they are incoming, the first one does not as it is a SEND..... Instead of using 'listtransactions' and 'account'....is there another function that is common to both send and receive that would allow me to retrieve a label for both ?I still have the v0.2 code in place, just added to...so that I could display the last 5 transactions.... <li><?php echo ("TX: ".$trans[9]['category'] . ":<b> " . $trans[9]['amount'] ." BTC</b> | ID: <b>".$trans[9]['account'] ."</b> | Confirms: <b>".$trans[9]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[8]['category'] . ":<b> " . $trans[8]['amount'] ." BTC</b> | ID: <b>".$trans[8]['account'] ."</b> | Confirms: <b>".$trans[8]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[7]['category'] . ":<b> " . $trans[7]['amount'] ." BTC</b> | ID: <b>".$trans[7]['account'] ."</b> | Confirms: <b>".$trans[7]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[6]['category'] . ":<b> " . $trans[6]['amount'] ." BTC</b> | ID: <b>".$trans[6]['account'] ."</b> | Confirms: <b>".$trans[6]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[6]['category'] . ":<b> " . $trans[5]['amount'] ." BTC</b> | ID: <b>".$trans[5]['account'] ."</b> | Confirms: <b>".$trans[5]['confirmations'] )?></b>
thanks again for a kick ass script.
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 21, 2012, 09:38:43 PM |
|
Hey Jim, just a quick question if I could..... I am still using the 'account' field for the 'listtransactions' call as it's common to both SEND & RECEIVE (and obviously makes the array possible with ease), but have come across a small limitation... (connected to my Solo Mining Wallet/Bitcoind) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fmembers.shaw.ca%2Fbitlane%2Ftx.jpg&t=665&c=n74jn2WlM3BpCA) I am able to get the label for incoming transactions but not for outgoing. In the list above, you can see that the 4 last transactions have labels as they are incoming, the first one does not as it is a SEND..... Instead of using 'listtransactions' and 'account'....is there another function that is common to both send and receive that would allow me to retrieve a label for both ?I still have the v0.2 code in place, just added to...so that I could display the last 5 transactions.... <li><?php echo ("TX: ".$trans[9]['category'] . ":<b> " . $trans[9]['amount'] ." BTC</b> | ID: <b>".$trans[9]['account'] ."</b> | Confirms: <b>".$trans[9]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[8]['category'] . ":<b> " . $trans[8]['amount'] ." BTC</b> | ID: <b>".$trans[8]['account'] ."</b> | Confirms: <b>".$trans[8]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[7]['category'] . ":<b> " . $trans[7]['amount'] ." BTC</b> | ID: <b>".$trans[7]['account'] ."</b> | Confirms: <b>".$trans[7]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[6]['category'] . ":<b> " . $trans[6]['amount'] ." BTC</b> | ID: <b>".$trans[6]['account'] ."</b> | Confirms: <b>".$trans[6]['confirmations'] )?></b> <li><?php echo ("TX: ".$trans[6]['category'] . ":<b> " . $trans[5]['amount'] ." BTC</b> | ID: <b>".$trans[5]['account'] ."</b> | Confirms: <b>".$trans[5]['confirmations'] )?></b>
thanks again for a kick ass script. I think the short answer is no. not all sends have a label, i think most dont, you just send to an address. You could print the first bits https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:08:19 AM |
|
i am getting "Fatal error: Call to undefined function socket_create() in C:\wamp\www\includes\apiSocket.php on line 125"
|
|
|
|
hmblm1245
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:12:42 AM |
|
i am getting "Fatal error: Call to undefined function socket_create() in C:\wamp\www\includes\apiSocket.php on line 125"
looks like sockets are not enabled. same problem i had above.
|
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:20:43 AM |
|
$minerList= array( "miner1", "miner2", "miner3", "miner4", "miner5", "miner6", "miner7", "miner8", "miner9", "miner10", "miner11", "miner12", //"minerwb", diablo "miner14", "miner15", "miner16", //"miner17" diablo );
I believe this is where I would be defining the IP address, and hostname of miners. I tried And it failed. How to do this exactly?
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:35:21 AM |
|
$minerList= array( "miner1", "miner2", "miner3", "miner4", "miner5", "miner6", "miner7", "miner8", "miner9", "miner10", "miner11", "miner12", //"minerwb", diablo "miner14", "miner15", "miner16", //"miner17" diablo );
I believe this is where I would be defining the IP address, and hostname of miners. I tried And it failed. How to do this exactly? I did not add the ability to give the ip address names, you must do that in your hosts file. hosts file entry: windows file: C:\Windows\System32\drivers\etc\hosts 192.168.1.103 miner1 192.168.1.106 miner2
php code: //list of miners to monitor $minerList= array( "miner1", "miner2" );
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:40:34 AM |
|
could I simply use IP address directly and not mess with the windows host file? $minerList= array( "192.168.1.103", "192.168.1.104",
I am getting "miner offline". On my miner 192.168.1.103, the cgminer config file contains "api-allow" : "192.168.1.101" The machine that runs the miners.php is 192.168.1.101
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 04:48:10 AM |
|
yes you should be able to just put in the ip.
this should be in your cgminer conf file:
"api-listen" : true, "api-network" : true, "api-port" : "4028",
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 05:13:54 AM |
|
cgminer config file "api-listen" : true, "api-network" : true, "api-port" : "4028",
Do I need the "api-allow" : "192.168.1.101" ? I tried both, and miners.php still says it is off line. Also I am getting these errors on miners.php "Warning: socket_read() [function.socket-read]: unable to read from socket - : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\includes\apiSocket.php on line 131"
"Notice: Undefined offset: -1 in C:\wamp\www\miners.php on line 484" "Notice: Undefined offset: 0 in C:\wamp\www\miners.php on line 485" "Warning: Division by zero in C:\wamp\www\miners.php on line 497" and a bunch of other errors
|
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 05:37:49 AM |
|
downloaded v0.5, still not working.
|
|
|
|
hmblm1245
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 03:01:17 PM |
|
What changes does v0.5 have?
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 23, 2012, 03:16:30 PM |
|
What changes does v0.5 have?
sorry i did not list them. some miner tweaks, I think I added 'activity' to each gpu and enhanced the execSum at the top.
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
ThiagoCMC
Legendary
Offline
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 03, 2012, 08:36:14 AM |
|
downloaded v0.5, still not working.
Same problem here... Anubis is working, --api-allow enable too... cgminerweb shows miners offline... ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
bitlane
Internet detective
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 462
Merit: 250
I heart thebaron
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 04, 2012, 01:50:45 AM Last edit: March 04, 2012, 07:00:50 PM by bitlane |
|
Hey Jim.....(sorry in advance....LOL) Is there any way that the 'DUMP' could be made to open in an address-bar-less small Pop-Up window rather than the in-page Toggle ?(I don't know how to code it....sorry)I have moved onto V0.5 Beta and an using a 30sec Page Reload (not Refresh) which makes the Dump difficult to read if not a speed reader...lol Is this possible ? For now, I have removed the hyper-link for the Dump and here is where I am at with styling for the version that I am using: Title - CGMiner Web Monitor - Beta v0.5 Custom![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fmembers.shaw.ca%2Fbitlane%2Fcg%2Fcgmwm5c.jpg&t=665&c=myexKmSGRS1ONg) - Entire layout/script center of page. - Github style buttons. - Misc CSS/layout/formatting. - Misc re-naming/tagging. - 30sec Javascript Page ReLoad - Misc stuff ? - Removed editable regions from main file into includes/user.php for all miner/bitcoin/time zone info to be updated. - Moved all STYLE into a master css file. Main 'index/miners.php' contains NO editable regions for everyday use. Lastly, could you please get a Copyright header/file ready, so that I can paste it into all your files please ?(I am not going to add my own info anywhere, I simply want to ensure that all credit goes to you for this kickass script)example... // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. // Bitcoin donation address - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks again for all your previous (and hopefully future...lol) HELP ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) bitlane.
|
|
|
|
bitlane
Internet detective
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 462
Merit: 250
I heart thebaron
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 04, 2012, 06:57:54 PM |
|
14vx4L7RbrYbgqSo3Sw17WWFRdH1mWR4KA
Lastly, while I am waiting for help...... If anyone would like a copy of the custom version of Jim's script that I am running in the pic above, I am willing to send it but I would like to see Jim get some donations first. I want nothing. I have quoted his Bitcoin address from his sig above and feel free to double check it against his actual sig for yourself. Obviously he has spent alot of time on this and as far as I know, has received nothing. This has been a huge learning experience for me, as Jim's coding style and layout are easy to follow and learn from.....I thank him for that. If you are interested, post TX proof and your email address and I will forward a ZIP file. **WORKS BEST (what I have done to it) in either CHROME (I use Chrome) or FIREFOX. IE sucks and misses most of the formatting tags.
|
|
|
|
|