Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SmartPool *protocol.SmartPool
Functions ¶
This section is empty.
Types ¶
type RPCService ¶
type RPCService struct{}
func NewRPCService ¶
func NewRPCService() *RPCService
func (*RPCService) ServeHTTP ¶
func (server *RPCService) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SmartPoolService ¶
type SmartPoolService struct {
// contains filtered or unexported fields
}
func NewSmartPoolService ¶
func NewSmartPoolService(rigName string) *SmartPoolService
func (*SmartPoolService) GetWork ¶
func (sps *SmartPoolService) GetWork() ([3]string, error)
func (*SmartPoolService) SubmitHashrate ¶
func (*SmartPoolService) SubmitWork ¶
func (sps *SmartPoolService) SubmitWork(nonce types.BlockNonce, hash, mixDigest common.Hash) bool
type StatService ¶
type StatService struct{}
func NewStatService ¶
func NewStatService() *StatService
func (*StatService) ServeHTTP ¶
func (server *StatService) ServeHTTP(w http.ResponseWriter, r *http.Request)
type StatusData ¶
type StatusService ¶
type StatusService struct{}
func NewStatusService ¶
func NewStatusService() *StatusService
func (*StatusService) ServeHTTP ¶
func (server *StatusService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.