Inspired by this linux fee rerouter, I wrote samething for Windows.
It's how it works:
- Run zm.exe and wait for initialization.
- Search signature of SSL functions, monitoring all stratum sessions.
- Watching
mining.authorize
andmining.submit
, replacet1NEpmfunewy9z5TogCvAhCuS3J8VWXoJNv.n
to user wallet. - done.
Every mining.submit
message will be write to console.
Download https://github.com/HazakiYoshimi/DSTM-equihash-miner-NO-DEV-FEE/blob/master/dstm_redirect.exe or full zip from https://github.com/HazakiYoshimi/DSTM-equihash-miner-NO-DEV-FEE/releases
put dstm_redirect.exe
to your dstm dir, along with zm.exe.
change batch file, replace
zm to dstm_redirect.
@echo off
@echo #######################################################
@echo Don't forget to change your pool and login information.
@echo #######################################################
dstm_redirect --cfg-file=zm_flypool.cfg