Author

Topic: How to add .conf and API to BFGminer? (Read 1071 times)

sr. member
Activity: 434
Merit: 251
CGWatcher & CGRemote
December 30, 2013, 07:55:26 PM
#5
Those settings apply to bfgminer also. Bfgminer is a fork of cgminer, so the config settings and api commands are the same for most things. Over time they grow further apart, but as of now this will enable the API in both miners.
legendary
Activity: 1526
Merit: 1000
the grandpa of cryptos
December 30, 2013, 04:28:38 PM
#4
hey
thing is [unless u can answer that] - i have BFL miner. when i run cgminer it wont work.

i hav to use BFGminer or bitminter app. ive no idea how to make my miner work on latest cgminer.
sr. member
Activity: 434
Merit: 251
CGWatcher & CGRemote
December 29, 2013, 11:59:54 PM
#3
I'm not sure what you're asking, but if you're on Windows you can use CGWatcher to launch cgminer and it will enable the API automatically. In CGWatcher's Tests tab you can access the API directly, or there are features throughout the program that provide an interface to the API.

https://bitcointalksearch.org/topic/cgwatcher-140-the-guimonitor-for-cgminer-and-bfgminer-to-prevent-downtime-185553

http://www.cgwatcher.com

If you just want to enable the API to access it with your own software, add the following to your config file:

Code:
"api-listen" : true,
"api-allow" : "W:127.0.0.1"

You may need to add a comma to the end of the second line depending on where in the config file you put it (if there are more settings below it.) You can change the IP to the IP your software is running on, or add more IPs by separating with a comma:

Code:
"api-listen" : true,
"api-allow" : "W:127.0.0.1,W:192.168.1.10"
legendary
Activity: 1526
Merit: 1000
the grandpa of cryptos
December 29, 2013, 11:09:52 PM
#2
nobody ? ;x
legendary
Activity: 1526
Merit: 1000
the grandpa of cryptos
December 29, 2013, 06:29:52 PM
#1
in cgmienr its s w enter.
the ni have saved file and i add lines for API.

how to do that in BFGminer since i want to give it directions on what to mine with API
Jump to: