[BOUNTY] ZEC Proxy development

Hey! Author of https://github.com/glambeth/zecProxy here. It was a quick hack, and i’m backpacking right now, but i’ll be back in 2 weeks and work on improving it :slight_smile:

2 Likes

Great!

See you soon than

@Morinic

  1. It will function as expected.
  2. It will be useful for increasing and maintaining the hash rate on the testnet.
  1. It will provide Zcash miners and pool operators with a more diverse solution for mining (+ I also require some options for building a Zcash .onion mining pool). :sunglasses:

Hi guys
We had exactly the same needs, and without any opensource solution on the web, we decided to make it ourself. So we start working on a zec proxy this week and we made a nice alpha version (made from scratch, nodeJS, working with EWBF, tested on flypool with several rigs ).

We have now to fix some stuff and add some robustness hacks to allow “production usage” but we’re pretty close to a sherable version. I think we’ll be able to share an initial version next week.

We are also thinking about/adding some other cool features like pool failover system, cool Ascii UI, watchdog system (alerts/miners auto reboot on stuck GPUs), hashrate monitoring, pm2 support, etc… Lot of cool stuff to do :wink:

The project will be released on GitHub in Open Source & will be dev-fee free; however donations will be highly appreciated :wink:
Keep in touch

1 Like

the bounty is still available :wink:

1 Like

Hi guys
As promised, find here the Zcash Stratum Proxy v1.0.0:

Zecproxy v1.0.0

This proxy has been tested with flypool and nanopool successfully.
Tested with EWBF’s Zcash CUDA miner. 0.3.4b

Main Features

  • Zcash stratum proxy
  • Additional up to 10-20% increase of earning compared to standard pools
  • Pool failover system
  • Only one connection to the pool
  • Workers get new jobs immediately
  • Submit of shares without network delay, it’s like solo-mining but with benefits of professional pool
  • Central Wallet configuration, miners doesn’t need wallet as username
  • Bypasse worker_id for detailed statistic and per rig monitoring - not supported on flypool yet / working on nanopool
  • PM2 support

Donations

  • ETH: 0x1212eF39d945aB9A9568Aa5a72c5CBA99Bbe46c1
  • ZEC: t1YAdYcnKR2ozADWPUvmgnDgf86gfsxQEEE

License

This software is provides AS-IS without dev-fee and without any warranties of any kind.
Please use at your own risk.

Enjoy !

1 Like

Awesome! Thank you for your work.

1 ZEC sent :wink:

1 Like

work it !

git clone git@github.com:BScrk/zecproxy.git

Cloning into ‘zecproxy’…
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Yep, you’r right… the good command to clone the repo without a github account setuped if the following :

git clone https://github.com/BScrk/zecproxy.git

Thanks @k0d3 for the donation !

Hi guys
We fixed an important bug today (the proxy became unstable after a peer disconnection…)
Please update the code to version 1.0.1

1 Like

Tnx , now i testing. :slight_smile:

@PistoleDev, Please let me know if your proxy work also for ssl connections. Flypool,for example, can use ssl over your proxy?

1 Like

Not yet, but we’re working on it …
The SSL Feature will be released soon ! :smile:

1 Like

Done, please find version 1.0.4 with SSL support & some improvements.


Enjoy !

1 Like

Hi Love I found some bugs I’m using nanopool, if the proxy crash - port disconnected by pool it crash totally. I’m using PM2 to automatically restart proxy. The problem is if the proxy restart it is rejecting shares as invalid solution. I need to restart proxy 2x times until it start working properly. SSL connection doesn’t work certificate cannot be authorised. I tried use
openssl reg -subj "/C=IT/ST=pool /CN=mining.proxy -newkey rsa:2048 -nodes -keyout cert.key -x509 -out cert.pen -days 36500

But SSL doesn’t work with nanopool. I’m not using Flypool because flypool looks like sciming shares…

Thanks for help

Hi Linda
Yes nanopool ssl certificate is rejected so… no ssl for nanopool yet.
We’ll take a look to your bug, just a stupid question before : did you update to version 1.0.4 ?
Because “port disconnected by pool it crash totally” was fixed in previous version…
Best

Hi PistoleDev,
I’m using 1.0.4 yes it fixed in 1.0.4 it restart the proxy the problem after restart it just show rejected shares : Invalid Solution
I must kill the process and start it manually and it start working again.
Is there any possibility to edit file
If pool.conection closed by pool then exit with error message. PM2 will restart it automatically

Hi PistoleDev,
Try it using PM2 using eu1 nanopool. Access the port 8000 with Webbrowser it will crash the proxy. (Same situation like port closed by the pool) Proxy will restart and start rejecting shares - invalid solution.

Regards your fan, tester :slight_smile:

Hi Linda
Perfect repro-case, thank you; I’ll fix it asap.
Best regards :raised_hand_with_fingers_splayed:

1 Like