fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

Add a connect peer endpoint #92

Open fusion44 opened 2 years ago

fusion44 commented 2 years ago

We need to connect to a peer anyway prior to opening a channel => Implement a .../lightning/connect-peer endpoint.

rootzoll commented 2 years ago

At the moment the open channel endpoint connects to the peer already before opening a channel. See: https://github.com/fusion44/blitz_api/blob/bb6d6a6bff3e47ba2408340c15f799e18e1e9e04/app/repositories/ln_impl/lnd.py#L438

fusion44 commented 2 years ago

Yeah, my initial issue is worded badly. I do the same with the CLN implementation but figured this should be exposed as an API. This is just a reminder for later and is actually a very good first issue.