aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
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 /eth/backend.go
parent9682a3ef3ec72a871708a9bba1133fa59b58ccb5 (diff)
downloadgo-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.gz
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.bz2
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.lz
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.xz
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.tar.zst
go-tangerine-82956df523fd75d0c3b4a49f571eee60935fc32e.zip
Get work / submit work partially implemented.
* WIP missing arguments for submitting new work * GetWork **done**
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 141c6c605..c312f9b4b 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -300,9 +300,9 @@ func (s *Ethereum) StartMining() error {
return nil
}
-func (s *Ethereum) StopMining() { s.miner.Stop() }
-func (s *Ethereum) IsMining() bool { return s.miner.Mining() }
-
+func (s *Ethereum) StopMining() { s.miner.Stop() }
+func (s *Ethereum) IsMining() bool { return s.miner.Mining() }
+func (s *Ethereum) Miner() *miner.Miner { return s.miner }
func (s *Ethereum) Logger() logger.LogSystem { return s.logger }
func (s *Ethereum) Name() string { return s.net.Name }
func (s *Ethereum) AccountManager() *accounts.Manager { return s.accountManager }