aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorGleb Naumenko <naumenko.gs@gmail.com>2020-06-03 18:51:34 +0300
committerGleb Naumenko <naumenko.gs@gmail.com>2020-07-30 14:38:50 +0300
commitcf1569e074505dbbb9d29422803dd31bb62072d4 (patch)
treed86245d33855ec83bc82125b50776dc448572c35 /src/net.h
parentacd6135b43941fa51d52f5fcdb2ce944280ad01e (diff)
downloadbitcoin-cf1569e074505dbbb9d29422803dd31bb62072d4.tar.xz
Add addr permission flag enabling non-cached addr sharing
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 1b9ed9dff4..1c558ee810 100644
--- a/src/net.h
+++ b/src/net.h
@@ -258,7 +258,7 @@ public:
/**
* Cache is used to minimize topology leaks, so it should
* be used for all non-trusted calls, for example, p2p.
- * A non-malicious call (from RPC) should
+ * A non-malicious call (from RPC or a peer with addr permission) should
* call the function without a parameter to avoid using the cache.
*/
std::vector<CAddress> GetAddresses(Network requestor_network);