CNode::IsConnectedThroughPrivacyNet

Whether this peer connected through a privacy network.

Synopsis

Declared in <net.h>

[[nodiscard]]
bool
IsConnectedThroughPrivacyNet() const;

Return Value

true if the connection uses a privacy network such as Tor or I2P.

NOTE

The return value should not be discarded.