liangran / zecproxy

Stratum proxy for Zcash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt text

Description

This is a Stratum Proxy for Zcash using JSON-RPC.

Originally developed by the Cryptense team.

Working with Dwarfpool and Nanopool. Also tried on Miningspeed on Zclassic / BitcoinZ / ZenCash coins. Some issues with flypool, better not use with this pool.

Successfully tested with EWBF's Zcash CUDA miner. 0.3.4b and dstm's ZCash Nvidia Miner v0.5 (Linux) with several GPUs Rigs.

alt text

WARNING This work is still in development. Please report any broken features or issues.

Features

  • Additional up to 10-20% increase of earning compared to standard pools
  • Zcash stratum proxy
  • 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
  • SSL / TCP protocols support

How it Works

  Pool A < ---+                         +------------- > Rig 1 / Worker 1
 (Active)     |                         |
              |                         +------------- > Rig 2 / Worker 2
              |                         |
  Pool B < ---+--- > StratumProxy < ----+------------- > Rig 3 / Worker 3
(FailOver)                              |
                                        +------------- > Rig 4 / Worker 4       

Todo

  • Logfile setup
  • ASCII UI
  • Watchdog system (alive / gpu failure)
  • Hashrate computation

Installation and Start

  • git clone https://github.com/BScrk/zecproxy.git
  • cd zec_stratum
  • npm install
  • node proxy.js

The proxy will automatically listen on port 8000 for miners.

Configuration

  • all configs in file config.json to change settings.

Miners command line

EWBF's Zcash CUDA miner

./miner --server <PROXY_ADDRSS> --user <RIG_NAME> --pass --port <PROXY_PORT>

exemple : ./miner --server 192.168.0.10 --user miner_1 --pass "x" --port 8000 --solver 0

dstm's ZCASH Cuda Miner

./miner --server <PROXY_ADDRSS> --user <RIG_NAME> --pass --port <PROXY_PORT>

exemple : ./miner --server $192.168.0.10 --port 8000 --user miner_1 --pass "x"

Donations

  • ETH: 0x1212eF39d945aB9A9568Aa5a72c5CBA99Bbe46c1
  • ZEC: t1YAdYcnKR2ozADWPUvmgnDgf86gfsxQEEE

Requirements

zec_stratum is build with nodeJS. The requirements for running zec_stratum are:

  • linux (recommend)
  • nodeJS
  • npm

Contact

License

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

Protocol Documentation

About

Stratum proxy for Zcash


Languages

Language:JavaScript 100.0%