Network Health Panel with mining

This commit is contained in:
Alexandre Van de Sande
2015-03-02 18:39:07 -03:00
parent dea6584018
commit 21c373b55d
5 changed files with 178 additions and 27 deletions

View File

@ -419,8 +419,7 @@ func (gui *Gui) update() {
case <-generalUpdateTicker.C:
statusText := "#" + gui.eth.ChainManager().CurrentBlock().Number().String()
lastBlockLabel.Set("text", statusText)
miningLabel.Set("text", "Mining @ "+strconv.FormatInt(gui.uiLib.Miner().HashRate(), 10)+"/Khash")
//miningLabel.Set("text", strconv.FormatInt(gui.uiLib.Miner().HashRate(), 10))
case <-statsUpdateTicker.C:
gui.setStatsPane()
}