Skip to content

deadmen0/donvload_Z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f37099c · Jul 6, 2017

History

3 Commits
Jul 6, 2017
Jul 6, 2017
Jul 6, 2017
Jul 6, 2017

Repository files navigation

zcash-proxy

ZCash and ZClassic mining stratum with Web interface.

Features

  • Your personal solo ZCash & ZClassic stratum
  • Rigs availability monitoring
  • Keep track of accepts, rejects, blocks stats
  • Easy detection of sick rigs
  • Daemon failover list

Configuration

Just copy config.example.json to config.json and specify stratum endpoint URL and upstream URLs.

{
  "proxy": {
    // Stratum host:port
    "listen": "0.0.0.0:9999",
    "tls": false,
    "certFile": "/path/to/proxy.crt",
    "keyFile": "/path/to/proxy.key",
    "clientTimeout": "20m",
    "blockRefreshInterval": "1s",
    "estimationWindow": "15m",
    "luckWindow": "24h",
    "largeLuckWindow": "72h",
    "nonceOffset": 0,
    // Recommended diff for 5xGPU rigs
    "difficulty": 512
  },

  // t-address for block rewards. NOT EXCHANGE!
  "coinbase": "t1K9CtKh4rZXEVfjhNovozLeLysyx9AwYrH",

  "frontend": {
    "listen": "0.0.0.0:8080",
    "login": "admin",
    "password": "",
    "hideIP": false
  },

  "upstreamCheckInterval": "5s",

  // List of zcash daemons
  "upstream": [
    {
      "name": "Main",
      "url": "http://127.0.0.1:8232",
      "login": "rpcuser",
      "password": "rpcpassword",
      "timeout": "10s"
    },
    {
      "name": "Backup",
      "url": "http://127.0.0.2:8232",
      "login": "rpcuser",
      "password": "rpcpassword",
      "timeout": "10s"
    }
  ]
}

Running

./zcash-proxy config.json 2>&1 | tee -a log.txt

Mining

nheqminer -l 192.168.1.2:9999 -u workerId -p x

Sharding

If you want to run many proxy instances with a single daemon use unique nonceOffset per instance.

DevFee

This proxy charges 2.0% devfee. Fee is a part of coinbase transaction.

Copyright

Copyright © 2016 sammy007.

This is proprietary software. No warranty, explicit or implicit, provided. Reverse engineering, redistribution, repackaging are not allowed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published