message: peers.dat, banlist.dat recreated when missing
diff: @@ -1740,6 +1740,7 @@ void StartNode(boost::thread_group& threadGroup, CScheduler& scheduler)
  else {
  addrman.Clear(); // Addrman can be in an inconsistent state after failure, reset it
  LogPrintf("Invalid or missing peers.dat; recreating\n");
  + DumpAddresses();
  }
  }
  @@ -1755,8 +1756,11 @@ void StartNode(boost::thread_group& threadGroup, CScheduler& scheduler)
  LogPrint("net", "Loaded %d banned node ips/subnets from banlist.dat %dms\n",
  banmap.size(), GetTimeMillis() - nStart);
  - } else
  + } else {
  LogPrintf("Invalid or missing banlist.dat; recreating\n");
  + CNode::SetBannedSetDirty(true); // force write
  + DumpBanlist();
  + }
  // Initialize random numbers. Even when rand() is only usable for trivial use-cases most nodes should have a different
  // seed after all the file-IO done at this point. Should be good enough even when nodes are started via scripts.
  