rename avgHashrate to currentHashrate