Open harshjv opened 6 years ago
All of neutrino’s peers are outbound at the moment. Persistent just means that we will retry a connection to that peer if we get disconnected.
Naming could probably distinguish better, but I believe the behavior is correct
Was taking a look at the source code and found this: https://github.com/lightninglabs/neutrino/blob/e89b36762dd46f4e5c1fc8348b5582265f4a74ce/neutrino.go#L106-L121
Shouldn't
forAllOutboundPeers
only apply closure tops.outboundPeers
?