message: searchforlogs minconf should default to 0
diff: @@ -1333,16 +1333,14 @@ UniValue waitforlogs(const JSONRPCRequest& request_) {
  request.PollPing();
  - LogPrintf("waitforlogs: checking block height\n");
  -
  - cond_blockchange.wait_for(lock, std::chrono::milliseconds(300));
  + cond_blockchange.wait_for(lock, std::chrono::milliseconds(1000));
  if (latestblock.height > blockHeight) {
  break;
  }
  // TODO: maybe just merge `IsRPCRunning` this into PollAlive
  if (!request.PollAlive() || !IsRPCRunning()) {
  - LogPrintf("client closed\n");
  + LogPrintf("waitforlogs client disconnected\n");
  return NullUniValue;
  }
  }
  @@ -1426,7 +1424,7 @@ public:
  parseParam(params[2]["addresses"], addresses);
  parseParam(params[3]["topics"], topics);
  - minconf = parseUInt(params[4], 6);
  + minconf = parseUInt(params[4], 0);
  }
  private:
  @@ -1459,7 +1457,7 @@ UniValue searchlogs(const JSONRPCRequest& request)
  "2. \"toBlock\" (string, required) The number of the latest block (-1 may be given to mean the most recent block).\n"
  "3. \"address\" (string, optional) An address or a list of addresses to only get logs from particular account(s).\n"
  "4. \"topics\" (string, optional) An array of values which must each appear in the log entries. The order is important, if you want to leave topics out use null, e.g. [\"null\", \"0x00...\"]. \n"
  - "5. \"minconf\" (uint, optional, default=6) Minimal number of confirmations before a log is returned\n"
  + "5. \"minconf\" (uint, optional, default=0) Minimal number of confirmations before a log is returned\n"
  "\nExamples:\n"
  + HelpExampleCli("searchlogs", "0 100 '{\"addresses\": [\"12ae42729af478ca92c8c66773a3e32115717be4\"]}' '{\"topics\": [\"null\",\"b436c2bf863ccd7b8f63171201efd4792066b4ce8e543dde9c3e9e9ab98e216c\"]}'")
  + HelpExampleRpc("searchlogs", "0 100 {\"addresses\": [\"12ae42729af478ca92c8c66773a3e32115717be4\"]} {\"topics\": [\"null\",\"b436c2bf863ccd7b8f63171201efd4792066b4ce8e543dde9c3e9e9ab98e216c\"]}")
  