This PR implements part of #88, by introducing a config option users can turn on to automatically connect to random onion-supporting peers using the network graph.
Also squeezed in a couple of typo fixes.
I think a good followup would be to try to reconnect to other onion-supporting peers once the number of onion-supporting peers falls below a certain threshold. So something like, once we receive a disconnect event, we check how many remaining onion-supporting peers there are and connect accordingly.
This PR implements part of #88, by introducing a config option users can turn on to automatically connect to random onion-supporting peers using the network graph.
Also squeezed in a couple of typo fixes.
I think a good followup would be to try to reconnect to other onion-supporting peers once the number of onion-supporting peers falls below a certain threshold. So something like, once we receive a disconnect event, we check how many remaining onion-supporting peers there are and connect accordingly.