Browse Source

less logging when pooling for network status

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
6594b01e6f
  1. 3
      src/bitcoinrpc.cpp

3
src/bitcoinrpc.cpp

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

Loading…
Cancel
Save