ZCash Stratum proxy (Increase earning up to 10%)

I confirm that zecproxy works with zpool.guru (tried on eu1 server).

1 Like

Thanks after almost 2 hours I finally got the proxy to work on Raspbian raspberry pi 3 thanks to old comments from Linda that stated the commands to install json v7 perhaps update the readme to include that for future users. But so far so good connected 2 miners to proxy and zpool.guru and if all goes fine will be connecting my other 3. Thanks for the software. Then for future if a new proxy version comes out how do I update?

2 Likes

You’r right @linda, we’ll update zecproxy to add “rejection reason” on next update.
@blackwidow, good idea, we’ll add a “Raspberry pi 3 install guide on readme”. To update the zecproxy, you have to pull the code and restart the proxy

If no PM2:

  • goto the proxy terminal and kill it [ctrl + c]
  • git pull
  • node proxy.js

With PM2 (without watching feature):

  • pm2 list to get ‘ZEC STRATUM PROXY’ id
  • pm2 stop <id>
  • git pull
  • pm2 start <id>

With PM2 (with watching feature enabled):

  • just git pull
1 Like

How do you add your email to nanopool using the proxy server?

but suprnova has the problem with tons of duplicated shares and then you need to restart the proxy in order to fix it. so not really recommended

Hi all
BTG mining just open today.
Zecproxy is compatible with BTG mining, tried it on http://goldenshow.io ( awesome pool XD )

As I get more rigs, trying to divide my sol rate to different pools/coins is becoming a pain. I would like to point all my rigs at this proxy and configure the proxy to load balance 50/50 between 2 pools or 33/33/33 between 3 pools for example.

When will the new version be released?

when I try to run node proxy.js I get following error.
What’s the issue could be? Any idea?

D:\Fatih\Desktop\zecproxy-master>node proxy.js
module.js:657
throw err;
^

in JSON at position 76esktop\zecproxy-master\config.json: Unexpected token
at JSON.parse ()
at Object.Module._extensions…json (module.js:654:27)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (D:\Fatih\Desktop\zecproxy-master\lib\pool_connector.js:1:76)
at Module._compile (module.js:635:30)
at Object.Module._extensions…js (module.js:646:10)

Hi @fatihk34
Can you share (MP) your config.json file please ?

> {
>   "wallet": "GPnFqE8EHKNedc1seRTc68xg5LNQfzCR3w",
>   "password" : "x",
>   "p
> ort": 3857,
>   "proxy_name" : "zecproxy",
>   "enable_worker_id": true, 
>   "pool" : { "host" : "server eu.btgpool.pro"  , "port" : 3857 },
>   "pool_failover_enabled": true,
>   "pool_failover" : [ { "host" : "server eu.btgpool.pro"  , "port" : 3857 },
>                       { "host" : "server eu.btgpool.pro"  , "port" : 3857,  "ssl" : true},
>                       { "host" : "server eu.btgpool.pro"  , "port" : 3857,  "ssl" : false},
>                       { "host" : "server eu.btgpool.pro"  , "port" : 3857 , "ssl" : false },
>                       { "host" : "server eu.btgpool.pro"  , "port" : 3857 , "ssl" : false },
>                       { "host" : "server eu.btgpool.pro", "port" : 3857 , "ssl" : false }],
>   "restart_delay": 10,
>   "on_rejected_share": {
>                       "strategy" : "restart",
>                       "threshold" : 5
>                     },
>   "debug" : false
> }

Actually just noticed the issue p ort and fixed now I get following.

2017/12/11 07:48:20 WARN # ZEC STRATUM PROXY RESETING...
2017/12/11 07:48:20 INFO # ZEC STRATUM PROXY 1.0.7 STARTING...
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:20 ERROR # All connections failed...
2017/12/11 07:48:20 ERROR # Closing all connections...
2017/12/11 07:48:20 ERROR # Waiting 10 seconds before attempting to restart the Stratum Proxy
2017/12/11 07:48:30 WARN # ZEC STRATUM PROXY RESETING...
2017/12/11 07:48:30 INFO # ZEC STRATUM PROXY 1.0.7 STARTING...
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 INFO # Connecting to server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # Network error, Error: getaddrinfo ENOTFOUND server eu.btgpool.pro server eu.btgpool.pro:3857
2017/12/11 07:48:30 ERROR # All connections failed...
2017/12/11 07:48:30 ERROR # Closing all connections...
2017/12/11 07:48:31 ERROR # Waiting 10 seconds before attempting to restart the Stratum Proxy

Your config is wrong :wink:
“pool” : { “host” : “server eu.btgpool.pro” , “port” : 3857 },
You have to remove "server "

1 Like

do you have any plans to make this work with pools with a non static difficulty?

It’s already working (tried with z-nomp based pools, nanopool etc…). What is the pool you use ?

can someone explain to me how do i install this on windows? cause on github it says how to install
but these commands are for linux only.

or i got this wrong all along, and the only thing i have to get is the .bat file of my miner?

suprnova.
I mostly farm zencash and suprnova is the best pool for zencash

Suprnova works best with proxy for Zencash, BTG. Nanopool is best setuped pool so far.

so you are saying it wil work on suprnova?

I get alot of dublicated shares

Got this to work on Windows computer. Seems to be working fine against FlyPool for ZCash. Not seeing the 10% gains but there is marginal improvement. Using DSMT 5.6 so there may not be much room for improvement. Is there a pool that may see better results?