getAdvertisableAddrs method
Implementation
Future<List<MultiAddr>> getAdvertisableAddrs() async {
List<MultiAddr> currentHostAddrs = await host.network.interfaceListenAddresses;
if (_status == Reachability.private || _status == Reachability.unknown) {
return relayFinder.getRelayAddrs(currentHostAddrs);
}
return currentHostAddrs;
}