less logging when pooling for network status

This commit is contained in:
Miguel Freitas 2013-10-31 23:52:44 -02:00
parent 8286e4c78d
commit 6594b01e6f

View File

@ -913,7 +913,8 @@ void JSONRequest::parse(const Value& valRequest)
throw JSONRPCError(RPC_INVALID_REQUEST, "Method must be a string"); throw JSONRPCError(RPC_INVALID_REQUEST, "Method must be a string");
strMethod = valMethod.get_str(); strMethod = valMethod.get_str();
if (strMethod != "getwork" && strMethod != "getblocktemplate" && if (strMethod != "getwork" && strMethod != "getblocktemplate" &&
strMethod != "getlasthave") strMethod != "getlasthave" &&
strMethod != "getinfo" && strMethod != "getbestblockhash" && strMethod != "getblock")
printf("ThreadRPCServer method=%s\n", strMethod.c_str()); printf("ThreadRPCServer method=%s\n", strMethod.c_str());
// Parse params // Parse params