ethminer

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SmartPool *protocol.SmartPool

Functions

This section is empty.

Types

type Server

type Server struct {
	Port uint16
	// contains filtered or unexported fields
}

func NewRPCServer

func NewRPCServer(output smartpool.UserOutput, port uint16) *Server

func (*Server) Start

func (s *Server) Start()

type SmartPoolService

type SmartPoolService struct{}

func (SmartPoolService) GetWork

func (SmartPoolService) GetWork() ([3]string, error)

func (SmartPoolService) SubmitHashrate

func (SmartPoolService) SubmitHashrate(hashrate hexutil.Uint64, id common.Hash) bool

func (SmartPoolService) SubmitWork

func (SmartPoolService) SubmitWork(nonce types.BlockNonce, hash, mixDigest common.Hash) bool

Jump to

Keyboard shortcuts

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