Bitcoin Forum
December 18, 2018, 02:30:31 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »
  Print  
Author Topic: HSRMINER Neoscrypt Fork by Justaminer - High Hashrate, API, all GPUs supported!  (Read 12585 times)
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 10:02:27 AM
 #1

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
  • Fixed bug of original hsrminer - now you can use GPU's numbers > 9 with -d option, i.e.  -d 10,11,12
  • lower devfee: 1 minute per hour

Latest fork's version: 14.04.2018

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



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: 571b1c7d7a0bb9934aaf3e4106c26b7735a004473e9ecd99d35c4e2664487eff

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: 009a44afaf3288f90b270283922834673abd8cad4f8af470028839b93c5e6343

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: 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!

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1545143431
Hero Member
*
Offline Offline

Posts: 1545143431

View Profile Personal Message (Offline)

Ignore
1545143431
Reply with quote  #2

1545143431
Report to moderator
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
January 16, 2018, 10:07:59 AM
 #2

Where did you get the source code from and can you include your source code with the changes?
bakhbtc
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 16, 2018, 10:22:46 AM
 #3

of cource using software without source code include some risks.
Use this kind of soft where you dont open your wallets, only in mining farm
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 10:23:21 AM
 #4

Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
tutulfo
Full Member
***
Offline Offline

Activity: 322
Merit: 105


View Profile
January 16, 2018, 10:29:03 AM
 #5

High risk.....new account, closed code miner fork....


Megaminer - Multi pool / Multi Algo launcher https://bitcointalk.org/index.php?topic=2059039.0
BTC: 1AVMHnFgc6SW33cwqrDyy2Fug9CsS8u6TM -------   LTC:  LVwuYbAvbMDVapheQBA7o2qQ2mKTEXVDbX
BCH: 1N7wsg4JmWJLP6BuHUP5rwsAXnQjTWPBjr --------  ETH: 0x9b7A01Bf5bD29c66d228d372B5bD1C43cDb78AcC
doktor83
Hero Member
*****
Offline Offline

Activity: 854
Merit: 570


View Profile WWW
January 16, 2018, 10:31:12 AM
 #6

Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.

you say you added a new parameter -r and programmed all the stuff it needs to do plus removed the fee, and all this without a source code , just changing a few things in the binary ?  Grin

You actually added new functionality to a software by hex editing and stuff ?  Grin For real man ?  Grin

SRBPolaris thread - HERE   |   SRBMiner thread - HERE
http://www.srbminer.com
tutulfo
Full Member
***
Offline Offline

Activity: 322
Merit: 105


View Profile
January 16, 2018, 10:39:08 AM
 #7

Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.

you say you added a new parameter -r and programmed all the stuff it needs to do plus removed the fee, and all this without a source code , just changing a few things in the binary ?  Grin

You actually added new functionality to a software by hex editing and stuff ?  Grin For real man ?  Grin


Megaminer - Multi pool / Multi Algo launcher https://bitcointalk.org/index.php?topic=2059039.0
BTC: 1AVMHnFgc6SW33cwqrDyy2Fug9CsS8u6TM -------   LTC:  LVwuYbAvbMDVapheQBA7o2qQ2mKTEXVDbX
BCH: 1N7wsg4JmWJLP6BuHUP5rwsAXnQjTWPBjr --------  ETH: 0x9b7A01Bf5bD29c66d228d372B5bD1C43cDb78AcC
ekze
Jr. Member
*
Offline Offline

Activity: 203
Merit: 1


View Profile
January 16, 2018, 10:40:00 AM
 #8

What is the default reconnect value? Can we set it to -1 to reconnect indefinitely?

★★★★★ BSOD.PW (https://bsod.pw/) ★★★★★
SHARED, SOLO and PARTY MINING
promomei
Sr. Member
****
Offline Offline

Activity: 395
Merit: 252



View Profile
January 16, 2018, 11:01:12 AM
 #9

Crazy dangerous staff
watch out  Grin
pupkinv
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
January 16, 2018, 11:08:19 AM
 #10

https://www.virustotal.com/#/file/4992661665e1dfcc8a28d5589484db49ea5f51a20b55d84a233a9cc2fc655e2f/detection
Cryp2bit
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
January 16, 2018, 11:15:18 AM
 #11

Danger.. but i risked  Grin  ran it on small rig with 2 gpus so no much to lose if something bad happens - just windows install and miner lol

Seems to be working though:

https://i.imgur.com/e9g6LD9.png

i think i'll check it for several hours..
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 12:13:24 PM
 #12

What is the default reconnect value? Can we set it to -1 to reconnect indefinitely?

Default value is already -1, so if you don't use -r option at all, miner will reconnect indefinitely.

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 12:25:57 PM
 #13

You actually added new functionality to a software by hex editing and stuff ?  Grin For real man ?  Grin

Yes. It's called software reverse engineering.

Guys, what option should I add next?

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 12:41:32 PM
 #14


Check virustotal report for original hsrminer_neoscrypt.exe :

https://www.virustotal.com/#/file/8947d773886cce727a8e7be8d69e5e372163116cac4bd87568cb996f757d420a/detection

AegisLab                    - Troj.Gen!c
CAT-QuickHeal           -  Trojan.IGENERIC
K7GW                        -  Unwanted-Program ( 004bf0771 )
McAfee-GW-Edition     -  BehavesLike.Win64.Downloader.vc
TrendMicro-HouseCall -  Suspicious_GEN.F47V0103
McAfee                      -  Artemis!B5DF5A71499C
K7AntiVirus                -  Unwanted-Program ( 004bf0771 )
Symantec                  -  Trojan.Gen.9

Scary, isn't it?

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
sekacakes
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 16, 2018, 12:52:25 PM
 #15


Check virustotal report for original hsrminer_neoscrypt.exe :

https://www.virustotal.com/#/file/8947d773886cce727a8e7be8d69e5e372163116cac4bd87568cb996f757d420a/detection

AegisLab                    - Troj.Gen!c
CAT-QuickHeal           -  Trojan.IGENERIC
K7GW                        -  Unwanted-Program ( 004bf0771 )
McAfee-GW-Edition     -  BehavesLike.Win64.Downloader.vc
TrendMicro-HouseCall -  Suspicious_GEN.F47V0103
McAfee                      -  Artemis!B5DF5A71499C
K7AntiVirus                -  Unwanted-Program ( 004bf0771 )
Symantec                  -  Trojan.Gen.9

Scary, isn't it?

Makes it awfully suspicious how this program goes masked and unflagged as a mining software, despite the original being flagged red all over.
ol92
Sr. Member
****
Offline Offline

Activity: 429
Merit: 250


View Profile
January 16, 2018, 01:08:53 PM
 #16


Check virustotal report for original hsrminer_neoscrypt.exe :

https://www.virustotal.com/#/file/8947d773886cce727a8e7be8d69e5e372163116cac4bd87568cb996f757d420a/detection

AegisLab                    - Troj.Gen!c
CAT-QuickHeal           -  Trojan.IGENERIC
K7GW                        -  Unwanted-Program ( 004bf0771 )
McAfee-GW-Edition     -  BehavesLike.Win64.Downloader.vc
TrendMicro-HouseCall -  Suspicious_GEN.F47V0103
McAfee                      -  Artemis!B5DF5A71499C
K7AntiVirus                -  Unwanted-Program ( 004bf0771 )
Symantec                  -  Trojan.Gen.9

Scary, isn't it?

Makes it awfully suspicious how this program goes masked and unflagged as a mining software, despite the original being flagged red all over.

The first warning : BehavesLike.Win64.RansomWannaCry is particulary worrisome since the original didn't have this one and it shouldn't be relative to mining software.
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 01:13:21 PM
 #17

Makes it awfully suspicious how this program goes masked and unflagged as a mining software, despite the original being flagged red all over.

Original hsrminer_neoscript.exe file was constantly deleted by my AV, so after I've finished my work on it I had to pack it before upload, otherwise you would have same troubles and would tell me that I'm trying to give you a virus - and it would be bad for my donations  Cheesy

If you think that it's not a miner, just give it a try on some farm rig without sensitive data like crypto wallets, etc. You will see that it's actually hsrminer_neoscrypt, it mines, but it doesn't have devfee now and there is -r option that works, I even added it to --help section.

You can check -r option, block hsrminer_neoscrypt_fork.exe in the firewall and let it run with -r 1 for example - you will see that after 1 connection attempt and 10 sec timeout miner will exit. If you set -r 0 - miner will exit immediately.

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 01:29:13 PM
 #18

Danger.. but i risked  Grin  ran it on small rig with 2 gpus so no much to lose if something bad happens - just windows install and miner lol

Seems to be working though:



i think i'll check it for several hours..


I'm glad you gave it a try, please also check -r option, I need some feedbacks. I can probably add some other options we were using in ccminer, just give me a hint which one you need.

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
Just_a_miner
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
January 16, 2018, 01:55:38 PM
 #19


Check virustotal report for original hsrminer_neoscrypt.exe :

https://www.virustotal.com/#/file/8947d773886cce727a8e7be8d69e5e372163116cac4bd87568cb996f757d420a/detection

AegisLab                    - Troj.Gen!c
CAT-QuickHeal           -  Trojan.IGENERIC
K7GW                        -  Unwanted-Program ( 004bf0771 )
McAfee-GW-Edition     -  BehavesLike.Win64.Downloader.vc
TrendMicro-HouseCall -  Suspicious_GEN.F47V0103
McAfee                      -  Artemis!B5DF5A71499C
K7AntiVirus                -  Unwanted-Program ( 004bf0771 )
Symantec                  -  Trojan.Gen.9

Scary, isn't it?

Makes it awfully suspicious how this program goes masked and unflagged as a mining software, despite the original being flagged red all over.

The first warning : BehavesLike.Win64.RansomWannaCry is particulary worrisome since the original didn't have this one and it shouldn't be relative to mining software.

As you can see I've shown only those AV reports of original file that aren't relative to mining software Smiley But you know it's a miner. It was packed by some generic packer that was easy to unpack for AVs, so they see it's a miner, but many of AVs didn't like behavior of packer so you get 7 warnings that aren't relative to mining software.

My file is packed with same packer that is used by Claymore to pack his "Claymore's Dual Ethereum + Decred/Siacoin/Lbry/Pascal AMD+NVIDIA GPU Miner", and you can see that he gets some AV reports too due to that packer, you can read his readme!!!.txt inside archive.

Hsrminer Neoscrypt Fork by Justaminer - support of new GPUs, high hashrate, API and more - https://bitcointalk.org/index.php?topic=2765610
santan
Member
**
Offline Offline

Activity: 103
Merit: 11


View Profile
January 16, 2018, 02:30:13 PM
 #20

It's not so easy to add extra options in a executable unless you redirecting to a code cave.... and so you don't want us to look inside .......VMP.... Smiley
Palgin will be mad at you.
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!