ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 44 forks source link

Simulation Tests: changing lnd/connext address #1040

Open kilrau opened 5 years ago

kilrau commented 5 years ago

https://github.com/ExchangeUnion/xud/issues/1013#issuecomment-501554380

kilrau commented 4 years ago

As just discussed with @LePremierHomme , xud doesn’t support replacement of lnd while still running atm, because it fetches the macaroons/cert only on launch.

So our options are:

  1. xud to support replacement of lnd instance while running (under the same host:port) - and so fetch macaroons/cert on every connection attempt
  2. xud doesn’t support replacement of lnd - and so lnd pubkey cannot change, and this test is redundant (because xud restart is needed, and so peer’s disconnection/connection will happen, and no nodeStateUpdate packet will be triggered)

We decided to accept 2 for the timebeing, it's simply not important enough rn. Unassigned from beta.3, but keeping this open for the future.