ether-proxy

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2015 License: MIT Imports: 10 Imported by: 0

README

ether-proxy

Ethereum mining proxy with web-interface.

Proxy feature list:

  • Rigs availability monitoring
  • Keep track of accepts, rejects, blocks stats
  • Easy detection of sick rigs
  • Daemon failover list

Demo

Building on Linux

Dependencies:

  • go >= 1.4
  • geth

Export GOPATH:

export GOPATH=$HOME/go

Install required packages:

go get github.com/ethereum/ethash
go get github.com/ethereum/go-ethereum/common
go get github.com/goji/httpauth
go get github.com/gorilla/mux
go get github.com/yvasiyarov/gorelic

Compile:

go build -o ether-proxy main.go
Building on Windows

Follow this wiki paragraph in order to prepare your environment. Install required packages (look at Linux install guide above). Then compile:

go build -o ether-proxy.exe main.go
Building on Mac OS X

If you didn't install Brew, do it. Then install Golang:

brew install go

And follow Linux installation instructions because they are the same for OS X.

Configuration

Configuration is self-describing, just copy config.example.json to config.json and specify endpoint URL and upstream URLs.

Running
./ether-proxy config.json
Mining
ethminer -F http://x.x.x.x:8546/miner/5/gpu-rig -G
ethminer -F http://x.x.x.x:8546/miner/0.1/cpu-rig -C
TODO

Currently it's solo-only solution.

  • Report block numbers
  • Report average luck
  • Report luck per rig
  • Add support for pools
  • Maybe add more stats
  • Maybe add charts
Donations
License

The MIT License (MIT).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Generated from https://github.com/streamrail/concurrent-map
Generated from https://github.com/streamrail/concurrent-map

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL