Who would be willing to add an rpc interface to cgminer and have the code added to the next release? I would like to see this feature added so others can programatically access cgminer. I would be willing to pay of course, in btc.
I will add
30 BTC to any bounty started for such a project. I would also award a bounty for a fork if it isn't feasible (due to different scope) to integrate into the main branch. A fork might actually be the best solution as a lot of code related to output and display could be removed. Hell all CPU mining code could likely be removed to in order to simplify the project.
Honestly all I would want is a daemon that is started by config file, has no command line output (think bitcoind running in server mode) and responds to RPCs.
It should handle at a minimum the following RPC to satisfy the bounty:
* start/stop/restart GPU (on restart recheck config file for any changes)
* shutdown instance (stop all GPU, and end cgminer)
* report current monitors (a min of current temp/load/clock/hashing speed)
* report global output (a min of total shares, accepted shares, rejected shares, stale shares, etc)
* report individual card output (same but on per card basis)
I am not set in stone for these being the requirements just trying to get a starting place. Obviously a lot more could be done by RPC (change clocks, intensity, etc) but to keep scope small I think we could start with the above and then once released look to expand the project via donations/bounties. I have considered doing this myself but if I am being honest with myself I doubt I have the time so I am willing to pledge towards a bounty pool.