aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-05 09:38:09 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-09 14:29:05 +0300
commit0a85e5a7bc8dc6587963e2e37ac1b087a1fc97fe (patch)
treef6b4f13e5b5ed23973b55a917c08bfd3ada49380 /src/net.h
parent5543c7ab285e90256cbbf9858249e028c9611cda (diff)
downloadbitcoin-0a85e5a7bc8dc6587963e2e37ac1b087a1fc97fe.tar.xz
p2p: Try to connect to anchors once
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 7b7885f839..616b986e4a 100644
--- a/src/net.h
+++ b/src/net.h
@@ -174,7 +174,9 @@ enum class ConnectionType {
* attacks. By not relaying transactions or addresses, these connections
* are harder to detect by a third party, thus helping obfuscate the
* network topology. We automatically attempt to open
- * MAX_BLOCK_RELAY_ONLY_CONNECTIONS using addresses from our AddrMan.
+ * MAX_BLOCK_RELAY_ONLY_ANCHORS using addresses from our anchors.dat. Then
+ * addresses from our AddrMan if MAX_BLOCK_RELAY_ONLY_CONNECTIONS
+ * isn't reached yet.
*/
BLOCK_RELAY,