Added getnetworkhashps rpc method