message: Do not process INV, GETDATA or GETBLOCKS when fReindex or fImporting
  There is no need to process these messages when reindexing or
  importing. We place the logic within the else statement so as
  to not fall through to the final else logic if the strCommand
  is known but we are importing or reindexing.
diff: @@ -6010,8 +6010,11 @@ bool ProcessMessage(CNode *pfrom, std::string strCommand, CDataStream &vRecv, in
  }
  - else if (strCommand == NetMsgType::INV && !fImporting && !fReindex)
  + else if (strCommand == NetMsgType::INV)
  {
  + if (fImporting || fReindex)
  + return true;
  +
  std::vector<CInv> vInv;
  vRecv >> vInv;
  @@ -6097,8 +6100,11 @@ bool ProcessMessage(CNode *pfrom, std::string strCommand, CDataStream &vRecv, in
  }
  - else if (strCommand == NetMsgType::GETDATA && !fImporting && !fReindex)
  + else if (strCommand == NetMsgType::GETDATA)
  {
  + if (fImporting || fReindex)
  + return true;
  +
  std::vector<CInv> vInv;
  vRecv >> vInv;
  // BU check size == 0 to be intolerant of an empty and useless request
  @@ -6133,8 +6139,11 @@ bool ProcessMessage(CNode *pfrom, std::string strCommand, CDataStream &vRecv, in
  }
  - else if (strCommand == NetMsgType::GETBLOCKS && !fImporting && !fReindex)
  + else if (strCommand == NetMsgType::GETBLOCKS)
  {
  + if (fImporting || fReindex)
  + return true;
  +
  CBlockLocator locator;
  uint256 hashStop;
  vRecv >> locator >> hashStop;
  