This commit is contained in:
obscuren
2015-03-20 17:42:09 +01:00
parent a59bb053f4
commit 54dac59285
4 changed files with 15 additions and 3 deletions

View File

@ -79,3 +79,7 @@ func (self *CpuMiner) mine(block *types.Block) {
self.returnCh <- Work{block.Number().Uint64(), nonce, mixDigest, seedHash}
}
}
func (self *CpuMiner) GetHashRate() int64 {
return self.pow.GetHashrate()
}