5 Commits

Author SHA1 Message Date
Vasco Santos
2746b4b025 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-11-09 14:11:48 +01:00
Vasco Santos
3d2181f6fa chore: address review 2020-11-09 14:11:48 +01:00
Vasco Santos
e6b0134299 feat: auto relay network query for new relays 2020-11-09 14:11:48 +01:00
Vasco Santos
8d75093dcb chore: auto relay multiaddr update push 2020-11-09 14:11:48 +01:00
Vasco Santos
25488853ef feat: auto relay (#723)
* feat: auto relay

* fix: leverage protoBook events to ask relay peers if they support hop

* chore: refactor disconnect

* chore: do not listen on a relayed conn

* chore: tweaks

* chore: improve _listenOnAvailableHopRelays logic

* chore: default value of 1 to maxListeners on auto-relay
2020-11-09 14:11:48 +01:00