ExchangeUnion / xud

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

Allow using initialized connext client #1719

Open kilrau opened 4 years ago

kilrau commented 4 years ago

Some users may want to generate seeds on their own and initialize swap clients like lnd and connext manually with differing seeds.

As this use case already works with lnd, xud should check if the connext client is initialized (hit any endpoint to see if it's initialized -> it will error if not) and use the client as is without generating a child seed and seed parameter in /connect.

kilrau commented 3 years ago

Related: https://github.com/ExchangeUnion/xud/issues/1929