message: net: use the exposed GetNodeSignals() rather than g_signals directly
diff: @@ -489,7 +489,7 @@ bool CNode::DisconnectOldProtocol(int nVersionRequired, std::string strLastComma
  void CNode::PushVersion()
  {
  - int nBestHeight = g_signals.GetHeight().get_value_or(0);
  + int nBestHeight = GetNodeSignals().GetHeight().get_value_or(0);
  /// when NTP implemented, change to just nTime = GetAdjustedTime()
  int64_t nTime = (fInbound ? GetAdjustedTime() : GetTime());
  @@ -1782,7 +1782,7 @@ void ThreadMessageHandler()
  {
  TRY_LOCK(pnode->cs_vRecvMsg, lockRecv);
  if (lockRecv) {
  - if (!g_signals.ProcessMessages(pnode))
  + if (!GetNodeSignals().ProcessMessages(pnode))
  pnode->CloseSocketDisconnect();
  if (pnode->nSendSize < SendBufferSize()) {
  @@ -1798,7 +1798,7 @@ void ThreadMessageHandler()
  {
  TRY_LOCK(pnode->cs_vSend, lockSend);
  if (lockSend)
  - g_signals.SendMessages(pnode, pnode == pnodeTrickle || pnode->fWhitelisted);
  + GetNodeSignals().SendMessages(pnode, pnode == pnodeTrickle || pnode->fWhitelisted);
  }
  boost::this_thread::interruption_point();
  }
  