[#CNetAddr-IsPrivacyNet] = xref:CNetAddr.adoc[CNetAddr]::IsPrivacyNet :relfileprefix: ../ :mrdocs: Whether this object is a privacy network. TODO: consider adding IsCJDNS() here when more peers adopt CJDNS, see: https://github.com/bitcoin/bitcoin/pull/27411#issuecomment‐1497176155 == Synopsis Declared in `<netaddress.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool IsPrivacyNet() const; ---- == Return Value True when the address is on a privacy network (Tor or I2P). [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#