lightninglabs / neutrino

Privacy-Preserving Bitcoin Light Client
MIT License
900 stars 183 forks source link

chainservice: retry lookup IP on startup #208

Closed halseth closed 3 years ago

halseth commented 3 years ago

If network access was not yet established (e.g. on mobile device in flight mode) the ChainService would fail to start since the IP address of permanent peers could not be looked up.

We retry if this lookup fail, to allow the chain service to start.

Fixes https://github.com/lightningnetwork/lnd/issues/4016

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.01%) to 71.765% when pulling 419a4298a6273f16d7042b68158b54bdad9c7859 on halseth:retry-lookup-ip into 38bf97e348a3d89c8f473209abf811c64074e5b5 on lightninglabs:master.