blitz_api icon indicating copy to clipboard operation
blitz_api copied to clipboard

Add a connect peer endpoint

Open fusion44 opened this issue 3 years ago • 2 comments

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

fusion44 avatar May 26 '22 23:05 fusion44

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

rootzoll avatar May 30 '22 18:05 rootzoll

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.

fusion44 avatar May 30 '22 18:05 fusion44