p2p: some comments and a log line

This commit is contained in:
Ethan Buchman
2018-04-28 15:01:33 -04:00
parent 3ee1d7909e
commit aaa81092e7
3 changed files with 12 additions and 7 deletions

View File

@ -83,10 +83,7 @@ Connection attempts are made with exponential backoff (plus jitter). Because
the selection process happens every `ensurePeersPeriod`, we might not end up
dialing a peer for much longer than the backoff duration.
TODO
PEX: if we fail to conenct to the peer after 16 tries (with exponential backoff), we remove from address book completely.
If we fail to conenct to the peer after 16 tries (with exponential backoff), we remove from address book completely.
## Select Peers to Exchange