Add getnetworkhashps rpc command