add getNetworkHashPerSecond function