Versions in this module Expand all Collapse all v0 v0.1.0-preview Nov 1, 2015 v0.0.3 Oct 31, 2015 Changes in this version type Frontend + Login string + Password string v0.0.2 Oct 16, 2015 Changes in this version type Proxy + HashrateWindow string v0.0.1 Sep 17, 2015 Changes in this version + const MaxReqSize + var SHARD_COUNT = 32 + type Block struct + func (b Block) Difficulty() *big.Int + func (b Block) HashNoNonce() common.Hash + func (b Block) MixDigest() common.Hash + func (b Block) Nonce() uint64 + func (b Block) NumberU64() uint64 + type BlockTemplate struct + Difficulty *big.Int + Header string + Height uint64 + Seed string + Target string + type Config struct + Frontend Frontend + NewrelicEnabled bool + NewrelicKey string + NewrelicName string + NewrelicVerbose bool + Proxy Proxy + Threads int + Upstream []Upstream + UpstreamCheckInterval string + type ErrorReply struct + Code int + Message string + type Frontend struct + Listen string + type JSONRpcReq struct + Id *json.RawMessage + Method string + Params *json.RawMessage + type JSONRpcResp struct + Error interface{} + Id *json.RawMessage + Result interface{} + Version string + type JobReplyData struct + Blob string + JobId string + Target string + type Miner struct + IP string + Id string + func NewMiner(id, ip string) *Miner + type MinersMap []*MinersMapShared + func NewMinersMap() MinersMap + func (m *MinersMap) Has(key string) bool + func (m *MinersMap) IsEmpty() bool + func (m *MinersMap) Remove(key string) + func (m *MinersMap) Set(key string, value *Miner) + func (m MinersMap) Count() int + func (m MinersMap) Get(key string) (*Miner, bool) + func (m MinersMap) GetShard(key string) *MinersMapShared + func (m MinersMap) Iter() <-chan Tuple + func (m MinersMap) IterBuffered() <-chan Tuple + type MinersMapShared struct + type Proxy struct + BlockRefreshInterval string + ClientTimeout string + Listen string + type ProxyServer struct + func NewEndpoint(cfg *Config) *ProxyServer + func (s *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *ProxyServer) StatsIndex(w http.ResponseWriter, r *http.Request) + type Session struct + type SubmitReply struct + Status string + type Tuple struct + Key string + Val *Miner + type Upstream struct + Name string + Timeout string + Url string