Downtime is minimized through automatic recovery to get up and mining seamlessly. This software allows for profit tracking, as it can track real time revenue and power consumption. The goal here is centralized management, for maximum efficiency, and in turn, profitability. In summary, very few will have an operation larger than this software can easily handle. How large you may wonder? We are talking up to 200,000 ASIC miners, and up to 25,000 CPU/GPU miners. While some software is aimed at the more casual miner, Awesome Miner (opens in new tab) serves those that need to manage a larger mining operation. Download CGMiner here (opens in new tab).You can configure your system to make an exception for CGMiner if you wish, or use the Linux version. This may be because hackers using their own versions of this program could secretly install CGMiner on someone else's machine to mine for their own benefit. When first started, CGMiner will ask you to enter the URL, username and password (if necessary) for your preferred mining pool, and it will automatically detect any hardware you have connected such as an ASIC device.Īlthough you have to work with CGMiner via the command line, the layout is quite streamlined with mining devices listed at the top, and simple keyboard commands for changing settings, such as enabling verbose mode or detecting new hardware.ĭuring our tests using CGMiner 4.9.2 on Windows 10, we found that our Avast antivirus software (opens in new tab) tried to block the download. It's primarily designed to be used with dedicated hardware mining devices, but can make use of any GPUs connected to your machine as well. It functions via a simple command line interface, supporting multiple mining pools (opens in new tab) and devices. If you find this gem useful, please consider donating.CGMiner (opens in new tab) has been around for over six years and is coded in C, which makes it compatible with almost every operating system. Push to the branch ( git push origin my-new-feature).Commit your changes ( git commit -am 'Add some feature').Create your feature branch ( git checkout -b my-new-feature).A complete list of available API commands and options can be found in the cgminer API-README. zero(which = 'All', full_summary = false)Īny cgminer API commands not explictly defined above are implemented using method_missing.The following privileged miner and pool commands are currently available: Asc The following read-only miner and pool commands are currently available: devs end # restart the poolĪPI commands can be sent to your miner pool from the command line. summary # run 'devs' on available miners returns an array of response hashes ![]() devs # run 'summary' on each miner in the pool returns an array of response hashes new # run 'devs' on each miner in the pool returns an array of response hashesĭevices = pool. default_timeout = 3 end pool = CgminerApiClient :: MinerPool. Gem Usage require ' cgminer_api_client ' # change the default timeout and port for the minersĬgminerApiClient. Restart cgminer: $ /etc/init.d/cgminer restart PARAMS = " $AOPTIONS $POOL1 $POOL2 $POO元 $_pb -api-listen -api-network -api-allow $_aa " ![]() Make the following change: #PARAMS="$AOPTIONS $POOL1 $POOL2 $POO元 $_pb -api-listen -api-network" You also need to updated the init.d script to pass the -api_allow option: $ vi /etc/init.d/cgminer Make the following change: # option api_allow 'W:127.0.0.1' Under Linux, you would do the following to allow access from any computer on your local network (192.168.1.x): $ vi /etc/config/cgminer See the cgminer API-README for more information. Your cgminer instances must be configured to allow remote API access if connecting from anywhere but localhost (127.0.0.1). # connect to 192.168.1.1 on a non-standard port (1234) with a custom timeout (1 second) ![]() E.g.: # connect to localhost on the default port (4028) with the default timeout (5 seconds) $ gem install cgminer_api_client-0.2.6.gemĬopy config/ to config/miners.yml and update with the IP addresses (and optional ports and timeouts) of your cgminer instances. Manually $ git clone :jramos/cgminer_api_client.git RequirementsĪdd the following to your Gemfile: gem ' cgminer_api_client ', ' ~> 0.2.6 ' RubyGems $ gem install cgminer_api_client A gem that allows sending API commands to a pool of cgminer instances.
0 Comments
Leave a Reply. |