nit: documentation could be made more consistent, as per e.g. the below diff
<details>
<summary>git diff on df65b527f0</summary>
diff --git a/src/net.h b/src/net.h
index 61b25bd47d..eb08d9de05 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1169,9 +1169,10 @@ public:
// Addrman functions
/**
- * Return all or many randomly selected addresses, optionally by network.
- * This function does not use an address response cache and should only be
- * used in trusted contexts.
+ * Return randomly selected addresses. This function does not use the address response cache and
+ * should only be used in trusted contexts.
+ *
+ * An untrusted caller (e.g. from p2p) should instead use [@ref](/bitcoin-bitcoin/contributor/ref/) GetAddresses to use the cache.
*
* [@param](/bitcoin-bitcoin/contributor/param/)[in] max_addresses Maximum number of addresses to return (0 = all).
* [@param](/bitcoin-bitcoin/contributor/param/)[in] max_pct Maximum percentage of addresses to return (0 = all). Value must be from 0 to 100.
@@ -1180,12 +1181,18 @@ public:
*/
std::vector<CAddress> GetAddressesUncached(size_t max_addresses, size_t max_pct, std::optional<Network> network, const bool filtered = true) const;
/**
- * Return all or many addresses, using the address response cache.
- * Cache is used to minimize topology leaks, so it should be used for all
- * non-trusted calls, for example, p2p.
+ * Return addresses from the per-requestor cache. If no cache entry exists, it is populated with
+ * randomly selected addresses. This function can be used in untrusted contexts.
+ *
+ * A trusted caller (e.g. from RPC or a peer with addr permission) can use
+ * [@ref](/bitcoin-bitcoin/contributor/ref/) GetAddressesUncached to avoid using the cache.
*
- * A non-malicious call (from RPC or a peer with addr permission) should
- * instead use GetAddressesUncached to avoid using the cache.
+ * [@param](/bitcoin-bitcoin/contributor/param/)[in] requestor The requesting peer. Used to key the cache to prevent privacy leaks.
+ * [@param](/bitcoin-bitcoin/contributor/param/)[in] max_addresses Maximum number of addresses to return (0 = all). Ignored when cache
+ * already contains an entry for requestor.
+ * [@param](/bitcoin-bitcoin/contributor/param/)[in] max_pct Maximum percentage of addresses to return (0 = all). Value must be
+ * from 0 to 100. Ignored when cache already contains an entry for
+ * requestor.
*/
std::vector<CAddress> GetAddresses(CNode& requestor, size_t max_addresses, size_t max_pct);
</details>