message: BU-specific followup
  remove redundant whitespace
  format BU-specific block with clang-format
  update BU-specific block for API changes
diff: @@ -1555,11 +1555,12 @@ void MapPort(bool)
  void ThreadBitnodesAddressSeed()
  {
  // Get nodes from websites offering Bitnodes API
  - if ((addrman.size() > 0) &&
  - (!GetBoolArg("-forcebitnodes", DEFAULT_FORCEBITNODES))) {
  + if ((addrman.size() > 0) && (!GetBoolArg("-forcebitnodes", DEFAULT_FORCEBITNODES)))
  + {
  MilliSleep(11 * 1000);
  LOCK(cs_vNodes);
  - if (vNodes.size() >= 2) {
  + if (vNodes.size() >= 2)
  + {
  LogPrintf("P2P peers available. Skipped Bitnodes seeding.\n");
  return;
  }
  @@ -1570,17 +1571,21 @@ void ThreadBitnodesAddressSeed()
  vector<string> vIPs;
  vector<CAddress> vAdd;
  bool success = GetLeaderboardFromBitnodes(vIPs);
  - if (success) {
  + if (success)
  + {
  int portOut;
  std::string hostOut = "";
  - BOOST_FOREACH(const string &seed, vIPs) {
  + BOOST_FOREACH (const string &seed, vIPs)
  + {
  SplitHostPort(seed, portOut, hostOut);
  - CNetAddr ip(hostOut, false);
  + CNetAddr ip(hostOut);
  CAddress addr = CAddress(CService(ip, portOut));
  addr.nTime = GetTime();
  vAdd.push_back(addr);
  }
  - addrman.Add(vAdd, CNetAddr("bitnodes.21.co", true));
  + CService bitnodes;
  + if (Lookup("bitnodes.21.co", bitnodes, 0, true))
  + addrman.Add(vAdd, bitnodes);
  }
  LogPrintf("%d addresses found from Bitnodes API\n", vAdd.size());
  