aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-22 22:38:01 +0800
committerobscuren <geffobscura@gmail.com>2015-03-22 22:38:01 +0800
commit82956df523fd75d0c3b4a49f571eee60935fc32e (patch)
treed30856ceb5e789e90f9750601a09b595b91bd71e /xeth
parent9682a3ef3ec72a871708a9bba1133fa59b58ccb5 (diff)
downloaddexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.gz
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.bz2
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.lz
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.xz
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.zst
dexon-82956df523fd75d0c3b4a49f571eee60935fc32e.zip
Get work / submit work partially implemented.
* WIP missing arguments for submitting new work * GetWork **done**
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 9f183aa61..d3c3131d4 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -17,6 +17,7 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/event/filter"
"github.com/ethereum/go-ethereum/logger"
+ "github.com/ethereum/go-ethereum/miner"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/whisper"
@@ -43,6 +44,7 @@ type Backend interface {
ExtraDb() common.Database
EventMux() *event.TypeMux
Whisper() *whisper.Whisper
+ Miner() *miner.Miner
IsMining() bool
StartMining() error