p2p: Try to connect to anchors once

This commit is contained in:
Hennadii Stepanov
2020-06-05 09:38:09 +03:00
parent 5543c7ab28
commit 0a85e5a7bc
2 changed files with 21 additions and 3 deletions

View File

@@ -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,