Bitcoin Forum
May 14, 2024, 11:27:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / MoreEpochs mod v2.7 [Claymore ETH miner 15] Win/AMD+Nvidia. 0.6% fee, 600 epochs on: December 30, 2020, 01:35:46 PM
Hello fellow miners. Some of you can remember me from HSRMINER Neoscrypt Fork by Justaminer. I've updated that miner, added new features and fixed bugs without access to source code.

I like Claymore's Eth miner much and used it many times in 2019/2020, so it was sad for me to see how it stopped working because it only supported up to 384 DAG epoch. I decided to see what can be done to solve the problem. After weeks of researching and hard work, the solution is ready:


More Epochs Mod for Claymore Eth Miner v15

If you are unable to run the miner after August Win10 updates, please read this to solve the issue with couple of mouse clicks.

If you are using -rxboost/-strap command-line options and have problems with strap driver not starting after latest Windows updates, please read this to solve the issue.

Features of the mod:

  • lowest in the industry 0.6% devfee! (it means that every 95 minutes the miner will mine devfee for 35 seconds).
  • command line option "-strap" now works for AMD Polaris GPUs on video drivers 20.5.1+, so now you can get speed increase over Phoenixminer! (check video from "The mod in action" section below)
  • support of DAG epochs up to 600 so you can continue to use legendary Claymore ETH miner!
  • fixed bugs of the original miner: it was unable to access nvml.dll on Windows 10, so temperature monitoring, fan control and power draw stats were unavailable.
  • added support of new Nvidia drivers 460.89+, miner initializes NVML properly with these drivers, so temperature monitoring, fan control and power draw stats are available.
  • now miner shows AMD GPUs power draw stats on newer AMD drivers (tested with 20.12.1)
  • now miner shows AMD driver version at startup and warns if driver's version is not supported (i.e. lower than 20.5.1)
  • now miner saves AMD Polaris GPUs' core and memory clocks/voltages at startup (before applying custom ones with -cclock,-mclock,-cvddc,-mvdcc) and restores it during exit.
  • now miner is able to apply -cclock values to Navi GPUs on new video drivers.
  • now miner saves AMD Navi GPUs' core clocks/voltages and memory clocks at startup (before applying custom ones with -cclock,-mclock,-cvddc) and restores it during exit.

Currently this mod supports only Windows version of the miner, Nvidia GPUs with at least 6 GB of video memory, and several AMD GPUs with at least 8 GB of video memory: Polaris RX 470,480,570,580,590, Navi RX 5500XT, 5600, 5600XT, 5700, 5700XT, Vega. Please read "AMD GPUs support" section below for details.

Latest mod's version: 2.7

~ Increased maximum number of supported DAG epochs to 600.



The mod in action:

You can see that my mod works on this video: https://vimeo.com/495752694

If you have 8GB AMD Polaris GPU (RX470/480/570/580/590), you can get speed increase over Phoenixminer (+0.6 MH/s per gpu) by using -strap and -rxboost options, example of hashrate you can get for RX580 with my mod https://vimeo.com/533071364 vs Phoenixminer https://vimeo.com/533072304

See full details and screenshots in this msg.



Downloads:

Warning!  MEGA.NZ closed many accounts with miners, including my one. I've reuploaded my mod to github:

https://github.com/just-a-miner/moreepochs/releases

Checksum for MoreEpochs_Mod_of_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.7.zip
SHA256: 97cc16d88282d05f7c086d8c4d384750bd9163bc1c2e411cec041b19e1f318e1

Checksum for MoreEpochs_Mod_of_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.6.zip
SHA256: f2006f4803566bd11cea99cf731844ae7e499d2154db8b3c015ecc76b226e6f0

Checksum for MoreEpochs_Mod_of_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.5.zip
SHA256: aa45e98b92a8299da9f5e0dede7cb1ad42a0cc88520ca18404619ed63e9e5bae

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.4.zip
SHA256: 6ca9487932702f0c6911a0c45bca21d7babd70ecef479f79e6113a646e042e3a

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.3.zip
SHA256: 06cf9c4cddde88fda8011989ee868b763c4be00306c9b6925ae758e679a06f2a

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.2.zip
SHA256: 631a8152fbe9ecf1fd6b0ad0fcde93b8e1822a871ba05894720b6b3d5af7f109

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.1.zip
SHA256: 1dac907f65aaca8088077c665bc690fecf4d8ab0a25989ae4383d8086642b8bc

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v2.0.zip
SHA256: c0a852529fd9dc6a36b728d89bd4b73e91751debd85f7e2a785cd23efc4c30fb

Checksum for MoreEpochs_Mod_for_Claymore_ETH_Miner_v15Win_by_JustAMiner_v1.9.zip
SHA256: 5523631e49f09160499a1ecdcb861f4633fd935c5e76f22e925a573a52b36a6d



How to use:

Unpack the archive and run the miner as you usually do. If the mod will complete its job successfully, you will see green colored message below Claymore's logo:



and now the miner is able to work with DAG epochs up to 600.

If you don't see this message, make sure you are using my original mod from my download link. If it still doesn't work for you, contact me and I will  try  to help you.



AMD GPUs support:

Video drivers:

You should use AMD video driver 20.5.1 or newer (most tests were done on driver 20.12.1), because older drivers can't allocate 4+ GB video buffer
in single chunk and that will prevent the miner from creating 4+ GB DAG.


Issues:

- 8 GB R9 390 doesn't work.

This issue can be fixed in next versions of the mod.


List of working GPUs:

AMD GPUs that work fine (tested on AMD video driver 20.12.1)

- 8 GB AMD Polaris: RX 470, 480, 570, 580, 590
- 8 GB AMD Navi: RX 5500XT, 5600, 5600XT, 5700, 5700XT
- 8+ GB AMD Vega GPUs


"-strap" and "-rxboost" options:

Command line options "-rxboost" and "-strap" (since v2.0 of the mod) works with AMD Polaris GPUs on video drivers 20.5.1+ (tested on AMD video
drivers 20.5.1 and 20.12.1). These options apply fast memory timings and greatly increase mining speed.
If you are going to use these options first time, you will need to do next steps once:

1) run miner as administrator once with "-rxboost 1" option. Miner should automatically uninstall old strap driver and install new one. If miner was unable to do auto uninstall/install of new strap driver, see step 2) and 3).

2) in miner folder go to "\strap_driver" subfolder and run as  admin "uninstall_strap_driver.cmd". This will stop and uninstall old strap
driver if it was installed.

3) run miner as admin with "-driver install" option.

If miner successfully installed new strap driver, you will see next message:

Code:
 Driver installed successfully.

After that you don't need to run miner as administrator anymore and you can use -rxboost and -strap options.

Note that rxboost/straps now apply after DAG generation to avoid possible DAG corruption. When DAG generation is finished and if rxboost/strap applied
successfully, you will see next messages :

Code:
 GPU #x strap "..." is applied successfully
 GPU #x -rxboost option is applied successfully

where x is GPU index that rxboost/strap applied to and "..." is specific strap.


Please be aware that some software can stop straps from working. For example, monitoring tool HwInfo does that, if you started that software then straps won't have effect on mining speed, and you have to completly reboot rig to make them work.


Please note that both "-rxboost" and "-strap" can crash/freeze your rig because not every GPU is able to work with faster timings especially at high memory
clocks. Refer to "Readme!!!.txt" to get more information about how to use -strap and -rxboost.


Compute Mode:

If after installing new AMD driver your AMD GPUs hash at very low speed, e.g. RX 580 shows like 9 MH/s instead of 27-33 MH/s, you need to enable Compute Mode in AMD Drivers. To do this, you need to run the miner as administrator once and after you see message:

Code:
 Press "y" to set Compute Mode and disable CrossFire in AMD drivers for all cards

press y key. After that you should see next message:

Code:
 All AMD cards use Compute Mode now, please reboot the system to apply it.

Exit the miner and reboot your rig. Now you can run miner as usual and your
AMD GPUs should work at full speed.



Cuda 8 and 10:

By default, there is Cuda 8 vesion of file EthDcrMiner64.exe in the root folder of the miner. If you want to use Cuda 10 version of Claymore ETH Miner  (it can give some speed increase), copy cudart64_100.dll and  EthDcrMiner64.exe from the cuda 10 subfolder to the root folder of the miner and overwrite EthDcrMiner64.exe there.

Then you can run the miner as usual and you should see:

 CUDA Driver Version/Runtime Version: xx.x/10.0

As you can see, Runtime Version is 10.0. It means miner uses Cuda 10.0 API.

If you want to get back to Cuda 8, unpack file 'EthDcrMiner64.exe' from the  mod's archive root folder, and copy it to the root folder of the miner, overwriting 'EthDcrMiner64.exe' there.

After that if you'll run the miner you should see:

 CUDA Driver Version/Runtime Version: xx.x/8.0

As you can see, Runtime Version is 8.0. It means miner uses Cuda 8.0 API.

Cuda 8 can be slightly faster on some rigs, and Cuda 10 can be slightly faster on others. You can test both versions on your rig and choose fastest one.



Changelog:

     Version: 2.7

~ Increased maximum number of supported DAG epochs to 600.

     Version: 2.6

~ Added unsigned version of strap driver that can work with Windows Update KB5004237. Unsigned driver requires Windows Test Mode.
  To enable Windows Test Mode make sure that "Secure Boot" is disabled in UEFI BIOS, then run "Enable_Windows_TestMode.cmd" from
  "strap_driver" folder in miner's archive as admin and reboot rig.
  To install unsigned strap driver run "install_Unsigned_strap_driver.cmd" (don't run as admin, it will ask for elevation after run).
  You can also install unsigned strap driver manually by running miner as admin with "-driver install_test" option.

     Version: 2.5

~ Devfee is reduced to lowest in the industry 0.6% ! (it means that every 95 minutes the miner will mine devfee for 35 seconds).

~ Now miner applies straps only once after first DAG generation at start, and doesn't reapply straps again in case of epoch's change during mining to
  increase stability.

     Version: 2.4

~ Improved straps apply method for Polaris GPUs. Most issues when miner reports that strap was applied successfully but hash speed doesn't increase are solved. Custom memory timing level that was set in AMD Software (Wattman) doesn't affect straps apply success anymore.

~ Now miner warns if Compute Mode is not enabled for AMD GPUs.

     Version: 2.3

~ Now miner saves AMD Navi GPUs' core clocks/voltages and memory clocks at startup (before applying custom ones with -cclock,-mclock,-cvddc)
  and restores it during exit.

~ Fixed bug that can occur during save/restore of clocks/voltages for AMD Polaris GPUs.

     Version: 2.2

~ Now miner saves AMD Polaris GPUs' core and memory clocks/voltages at startup (before applying custom ones with -cclock,-mclock,-cvddc,-mvdcc)
  and restores it during exit.

~ Now miner shows AMD driver version at startup and warns if it's not supported (i.e. lower than 20.5.1).

~ Fixed bug of original miner with applying -cclock values to Navi GPUs on new video drivers.

~ Several minor fixes.

     Version: 2.1

~ Changed behavior of "-driver uninstall" option. By default, miner also tries to disable testsigning mode during strap driver uninstall. This
  often leads to error on systems with SecureBoot enabled and prevents miner from uninstalling strap driver. Now when miner started with
  "-driver uninstall" option, it only uninstalls strap driver without trying to disable testsigning mode.

~ Command line option "-mode" now has default value of 1, which means that if this option is not specified, dual-mining mode is disabled by default
  and miner works in ETH-only mining mode. This is usefull for AMD GPUs (Polaris), because allow miner to get best mining speed by either automatic or
  manual fine-tuning of -dcri values.

~ Added messages that straps/rxboost will be applied after DAG generation if strap/rxboost options used. Remade several messages that miner
  displays in case of error during installing/uninstalling strap driver to give user more clear instructions.

~ Several small fixes.

     Version: 2.0

~ Command line option "-strap" now works for AMD Polaris GPUs with video drivers 20.5.1+ (most tests were done on 20.5.1 and 20.12.1).
    Read "AMD GPUs support" section for details.

     Version: 1.9

~  Fixed issue with incorrect shares on 8+ GB Vega AMD GPUs.

     Version: 1.8

~ Fixed issue with incorrect shares on 8 GB Polaris AMD GPUs: RX 470, 480, 570, 580 (tested on AMD video driver 20.12.1).
~ Command line option "-rxboost 1" works fine with Polaris AMD GPUs (tested on AMD video driver 20.12.1). For now avoid using "-strap" command line
   option for AMD GPUs, it will crash rig. This problem will be fixed in next versions of the mod.

     Version: 1.7

~ now miner shows AMD GPUs power draw stats on newer AMD drivers (tested with 20.12.1)

     Version: 1.6

~ Improved devfee connection handling. Reduced retry delay to 1 second between connection attempts to other devfee pools if miner can't connect to default devfee pool when devfee starts.
    Reduced retry delay to 1 second between connection attempts to other devfee pools if miner lost connection to devfee pool during mining devfee.

~ several minor bug fixes and improvements

     Version: 1.5

~ Fixed issue with incorrect shares on Navi AMD GPUs. Other AMD GPUs will be addressed in next versions of the mod.

     Version: 1.4

~ Added support for Nvidia drivers 460.89+, now the miner initializes NVML properly with these drivers, so temperature
   monitoring, fan control and power draw stats are available.

     Version: 1.3

~ Fixed Claymore's bug that lead to error "NVIDIA NVML library not found, temperature monitoring for NVIDIA GPUs disabled" on  Windows 10.
   Nvidia driver 456.71 is tested on Windows 10 and shows temperature, fan speed, power draw of Nvidia GPUSs, and allow to control GPUs fans.
   Nvidia driver 460.89 still gives the error "NVML API: Init Error 1" - this will be fixed in next releases of the mod.
  
     Version: 1.2

~ Several AMD GPUs are now enabled to work with DAG epochs 385+ :
   R470/R480, Vega, Navi. This is test support, please report any problems.

     Version: 1.1

~ added support of Cuda 10 EthDcrMiner64.exe

~ fixed bug with buffer allocation for DAG epochs 388+

     Version: 1.0

~ First version, supports only Cuda 8 EthDcrMiner64.exe and Nvidia GPUs.



My reward:

Several people asked me about devfee in this mod, and I want to explain what is my reward for creating and supporting it. In this mod I've done huge amount of unique work from the start and even more work afterwards as I continue to suport and improve it for several months, so people can continue to use legendary Claymore miner. As a reward for that hard work which as I hope will help many people, I pointed devfee to my eth wallet. This will support me and let me to invest more time into development of future versions of this mod. I think this is fair, because for some reason original developer disappeared, his miner stopped working and so devfee mining to his wallets stopped too anyway. Size of devfee is reduced, it's now lowest in the industry 0.6% ! It means that every 95 minutes the miner will mine devfee for 35 seconds.



Future plans:

Feature versions of this mod will have support of Linux version of the miner.


Enjoy!
2  Alternate cryptocurrencies / Mining (Altcoins) / HSRMINER Neoscrypt Fork by Justaminer - New Version! on: January 16, 2018, 10:02:27 AM
My More Epochs mod for Claymore ETH Miner v15: https://bitcointalk.org/index.php?topic=5305046



You like high hashrate of original Hsrminer_neoscrypt, but you are mad at it because:

  - it has real devfee of 2.08% - 2.75% instead of claimed 1%, for details read full truth about original hsrminer
  - it tries to connect to dead pools for several hours, making your farms waste time and profits due to lack of -r option
  - it doesn't have API
  - it doesn't have many useful options to which you are used with ccminer
  - it doesn't support old GPU's like 9xx and new one's like P104, Titan XP, and so on.
  
I don't like those disadvantages of original hsrminer too, because I'm just another miner like you, I need API, working options, and I want my rigs to work 24/7!

And here is my solution:

This is the fork of Hsrminer Neoscrypt miner with next features:

  • High hashrate
  • Working ccminer-compatible API
  • Many new useful ccminer-style options, see help screenshot
  • Additional support of next GPUs: GTX 950, GTX 960, GTX 970, GTX 980, GTX 980 Ti, GT 1030, P104-100, P102-100, Titan X (Pascal), Titan V, Titan XP, GTX 1660 Ti, RTX 2060, RTX 2070, RTX 2080, RTX 2080 Ti
  • Fixed bug of original hsrminer - now you can use GPU's numbers > 9 with -d option, i.e.  -d 10,11,12
  • lowest 0.9% devfee: every 90 minutes miner will mine devfee for only 50 seconds

Latest fork's version: 25.03.2019

~  Added test support for Nvidia GTX 1660 Ti, RTX 2060, RTX 2070, RTX 2080, RTX 2080 Ti.

~  Devfee reduced to 0.9% (every 90 minutes miner will mine devfee for only 50 seconds)!



Troubleshooting:
1) If you have "Out of memory error", increase windows pagefile (virtual memory). Pagefile should be = number of GPUs * 6300 MB, i.e. if you have 6 GPUs in your rig, set your pagefile to 6 * 6300 = 37800 Megabytes.

2) If miner crashes at start with "cuda launch timed out and was terminated", it means some other app uses big % of your CPU and doesn't let miner to start cuda kernels in time. Close other apps that use a lot of your CPU resources and/or use normal process priority version of the miner. Also you can try to lower process priority further by using -c 2 option with any version of the miner.

3) If miner crashes during mining and you are using high priority version of the miner, it means your GPUs can't handle high load with you current overclocking settings - try to reduce OC and/or use normal process priority version of the miner. Also you can try to lower process priority further by using -c 2 option with any version of the miner.



Downloads:

High process priority version (slightly more hashrate, but HIGH GPU LOAD): https://github.com/justaminer/hsrm-fork/raw/master/hsrminer_neoscrypt_fork_hp.zip

Checksum for hsrminer_neoscrypt_fork_hp.exe:
SHA256: 216e9199f1f3516e657a3b2ee38214f93d3e0dd55de9f619fbcdefb024ddc0bf

If you have troubles with hp version, use this:

Normal process priority version: https://github.com/justaminer/hsrm-fork/raw/master/hsrminer_neoscrypt_fork.zip

Checksum for hsrminer_neoscrypt_fork.exe:
SHA256: 6e4b207941225cb5113e1f1f1cdbbfead221a27853ff6c90a5335f57187a78a8

Checksum for msvcr120.dll:
SHA256: ad32240bb1de55c3f5fcac8789f583a17057f9d14914c538c2a7a5ad346b341c


Hashrate compare:

Benchmark done with single MSI GTX 1070 Gaming X pl 90%/+100core/+400mem

Default compare:

* NiceHash Excavator 2.0.1.10 with default settings - benchmark in progress.. result - 1241 kh/s

* Ccminer Klaust 8.20  Cuda 9.1 with default settings - 1276 kh/s

* Hsrminer_Neoscrypt_Fork with default settings, normal process priority version - 1322 kh/s

---------------------------------------------
Tweaked/high-process-priority compare:

* Ccminer Klaust 8.20  Cuda 9.1 with high process priority and intensity set to 17 - 1320 kh/s

* Hsrminer_Neoscrypt_Fork high process priority version - 1365 kh/s


Changelog:

     Version: 14.04.2018

~ Miner now displays number of accepted/rejected/total shares.


     Version: 12.03.2018

~ Miner now displays "[YEAR-MONTH-DAY HOURS:MINUTES:SECONDS]..." instead of " INFO : [HOURS:MINUTES:SECONDS]..."

~ Full compatibility with NiceHashMinerLegacy - miner now passes all types of benchmark: quick, standart and precise. You can use it with NHML instead of
   Ccminer Klaust for example: exit from NHML, go to your NHML folder, \bin\ccminer_klaust\ , delete ccminer.exe, put hsrminer_neoscrypt_fork.exe or
   hsrminer_neoscrypt_fork_hp.exe there and rename it to ccminer.exe .You can also put there msvcr120.dll from hsrminer_neoscrypt_fork.zip archive.

~ msvcr120.dll was added to both hsrminer_neoscrypt_fork.zip and hsrminer_neoscrypt_fork_hp.zip to avoid error C000007B that some users were reporting.

     Version: 14.04.2018

~ Miner now displays number of accepted/rejected/total shares.

     Version: 09.03.2018

~  Added test support for Nvidia P102-100, GT 1030 - please test and feedback.

~  Added options -T, --timeout, -s, --scantime, see --help for details. Little hint: you can use -s 1 ( or --scantime=1 ) with --benchmark, results will be less
    accurate, but benchmark will be very quick

~  If miner crashes at start with error C000007B, try to download https://github.com/justaminer/hsrm-fork/raw/master/msvcr120dll.zip , unpack it and put
    msvcr120.dll to miner's folder. You can read more about C000007B error here.


     Version: 01.03.2018

~  Added support of Titan XP, Titan V, Titan X (Pascal), GTX 950, GTX 960 - try and feedback please.

~  Now you can actually change intensity with -i option for --benchmark (before that due to original hsrminer issue, even if you were specify -i N, default intensity
    was used during benchmark). This let you tweak intensity and see results immediately with --benchmark. Use tools like GPU-Z or MSI Afterburner to watch gpu
    memory usage, high intesity also means high gpu memory usage. If you specify intensity below 8 - default values will be used.
    In general, you don't need to tweak intensity, especially for GPUs like 1060,1070,1080 as default values are already fine tuned but you can try to tweak it
    for other GPU's.
  
~  Added 1 minute per hour devfee.


     Version: 25.02.2018

~  Issue with GTX 970, 980 and 980 Ti fixed, 2+ GPUs should work now.


     Version: 24.02.2018

~  Added test support for Nvidia P104-100

~  Two test versions for GTX 970, 980 and 980 Ti


     Version: 20.02.2018

~  Added support for GTX 970, 980 and 980 Ti !

~  fixed minor bug in benchmark with NiceHashMinerLegacy.

~  fixed minor bug in -r N option, in rare cases miner could still try to connect even if number of attempts were > N


     Version: 16.02.2018

~  miner is now compatible with NiceHashMinerLegacy's quick and standart benchmarks, so you can use it with NHML instead of Ccminer Klaust for example: exit
    from NHML, go to your NHML folder, \bin\ccminer_klaust\ , delete ccminer.exe, put hsrminer_neoscrypt_fork.exe or hsrminer_neoscrypt_fork_hp.exe there and
    rename  it to ccminer.exe

~  miner is compatible with SniffDogMiner, close it, go to its folder, to subfolder \Miners, find file Hsrminer.ps1, right click and edit, find
    line #NeoScrypt = 'neoscrypt' , delete # and save file. Start SniffDogMiner.

~  "Overall speed .." message is now appear more often, after every 7 accepted shares. Correct overall speed will be calculated when every GPU will find valid
    share, so the more GPUs you have, the more time required to calculate correct overall speed.

~  process priority of normal priority version is increased, it's now 3 by default instead of 2. You can manually tweak process priority of miner with -c option.

~  added options -R, --retry-pause, it lets you specify pause in seconds before make another connection attempt in case of network failure. Default value of -R
    is 10 seconds, it can be too much for someone, so now you can tweak it.


   Version: 08.02.2018

~  Hashrate inscreased!  Added separate high process priority version (hsrminer_neoscrypt_fork_hp.exe) which will give more hashrate (I get +50 kh/s for 1070),
    but it will stress GPUs more, so overclocked too much GPU's can crash\hang, etc. So if you have troubles with this version, use normal process priority version
    (hsrminer_neoscrypt_fork.exe). You can see how high and steady GPU load is with high process priority on this screenshot, and how bad it looks with normal
    priority on this one

~  API now correctly shows GPU's core frequency, fan %, temperature and hashrate for each gpu, also total accepted/rejected counters.

~  fixed palgin's bug in -d option parsing, so now you can use -d with card's number > 9, i.e. -d 10,11,12. This miner supports up to 16 gpus
     ( from 0 to 15 in -d parameter).


    Version: 31.01.2018

~  added options -a, --algo (for compatibility only), --api-bind=port, --benchmark, --retries=N , see --help for details.

~   API is working! By default you can connect to 127.0.0.1:4068 from the same computer. For now working api commands are "summary", "threads",
     "pool", "histo", "hwinfo", "meminfo", "help". Commands like "threads" and "hwinfo" need some tuning, as they don't show fan rpm now, will be done later.
      You can check that API is working with monitoring software like Awesome Miner, choose ccminer-style API.


~   Option -b ip:port added to control API, usage example:

     -b 0.0.0.0 will allow to connect from external hosts, for now you can control access via firewall, option --api-allow will be added later
 
     -b 0 will disable API.


~   -r N option added, where N is number of reconnect attempts, usage example:
    
     hsrminer_neoscrypt_fork.exe -r 1 -o URL -u User -p Pass
    
     This option will make miner try to reconnect 1 time if connection to pool failed and then exit.

     If you specify -r 0 , miner will exit immediately after connection to pool lost.



Useful AutoIt Scripts

Here is very simple but handy AutoIt script I've made to autorun miners, especially ones with -r option. What it does:

runs specified miner in infinite loop, if miner exits due to pool connection failure (-r option must be specified), script selects next pool from your list and runs miner with it's url. If miner crashes with additional window "Program has stopped working bla bla", script kills miner's process and restarts miner with current pool url. Script adds every important event to specified log file.

To use this script you need:

1) specify your values at the beginning of the script (miner's path, .exe name, cmdline list with your pool's urls, etc) - all parameters are filled with default example ones so you will get the idea how to fill it.

2) download AutoIT3 from its homepage.

3) install autoit-v3-setup.exe, then run C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2exe_x64.exe and convert this script to .exe file for easy use. Then you can run miner_autorun.exe manually or put its SHORTCUT (not .exe file itself!) into Windows Startup folder to autorun it with Windows start.

You can modify this script as you wish, and "recompile" it with Aut2exe_x64.exe


Miners_autorun_script_fp.zip is more advanced version of the script, with support for failover pools. Pool 0 is always main pool, and all other pools are failover pools. There is default failover timelimit of 15 minutes (you can change it), in case of connection failure on main pool, script will switch to failover pool, but will work there only for failover timelimit and then will switch back to main pool.

If you have any questions, feel free to ask.


You can feedback to this topic, I will try to help you if I will be able to.

If you like this software, you can donate:

BTC: 1DDZ54Uy59ph5k5aJA4NpMPX6WkKWuY19c

LTC:  LYdkrQANCviyN9R3wUeCi6hBAWrksDyC7U

ETH: 0xb76361C6CD3A1703B95C0b16fE1a67942871bd29

Enjoy!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!