Get work / submit work partially implemented.

* WIP missing arguments for submitting new work
* GetWork **done**
This commit is contained in:
obscuren
2015-03-22 15:38:01 +01:00
parent 9682a3ef3e
commit 82956df523
5 changed files with 101 additions and 8 deletions

View File

@ -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 }