From 6594b01e6f8b256a5266cf2bd23030c8312f5a44 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 31 Oct 2013 23:52:44 -0200 Subject: [PATCH] less logging when pooling for network status --- src/bitcoinrpc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 87690826..23eaa422 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -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