message: refactor, net: Increase CNode data member encapsulation
  All protected CNode data members could be private.
diff: @@ -532,11 +532,6 @@ public:
  */
  Network ConnectedThroughNetwork() const;
  -protected:
  - mapMsgCmdSize mapSendBytesPerMsgCmd GUARDED_BY(cs_vSend);
  - mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY(cs_vRecv);
  -
  -public:
  // We selected peer as (compact blocks) high-bandwidth peer (BIP152)
  std::atomic<bool> m_bip152_highbandwidth_to{false};
  // Peer selected us as (compact blocks) high-bandwidth peer (BIP152)
  @@ -612,8 +607,6 @@ public:
  CNode(const CNode&) = delete;
  CNode& operator=(const CNode&) = delete;
  -public:
  -
  NodeId GetId() const {
  return id;
  }
  @@ -664,8 +657,6 @@ public:
  nRefCount--;
  }
  -
  -
  void AddAddressKnown(const CAddress& _addr)
  {
  assert(m_addr_known);
  @@ -697,7 +688,6 @@ public:
  }
  }
  -
  void AddKnownTx(const uint256& hash)
  {
  if (m_tx_relay != nullptr) {
  @@ -767,6 +757,9 @@ private:
  //! Whether this peer is an inbound onion, e.g. connected via our Tor onion service.
  const bool m_inbound_onion{false};
  +
  + mapMsgCmdSize mapSendBytesPerMsgCmd GUARDED_BY(cs_vSend);
  + mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY(cs_vRecv);
  };
  /**
  