Monday icon indicating copy to clipboard operation
Monday copied to clipboard

Feature Request: Enable setting/switching of LSP

Open danielnordh opened this issue 1 year ago • 3 comments

It would be great if the app allows for setting/switching between LSPs.

Currently, the LSP is hard coded and can't be changed by the user.

Given that this may brake existing users' installation it could be worth doing this a.s.a.p. (Would be possible to have a fallback to migrate over previous installations, not sure if worth the effort)

Desired flow

By going to Settings -> Network settings(to also expose during onboarding, or under Lightning Node if not needed in onboarding), they can switch between available LSPs. Node is stopped Node is restarted with desired LSP

Things that are likely to be needed for this to work

Last used LSP needs to be stored somewhere for startup to know (optional, we could always start with default) LightningNodeService needs refactor to not use hard coded values.

danielnordh avatar Jan 08 '25 09:01 danielnordh

bumping that this needs sooner

reez avatar Apr 30 '25 16:04 reez

thinking we wait until https://github.com/lightningdevkit/ldk-node/issues/529

reez avatar May 07 '25 15:05 reez

thinking we wait until lightningdevkit/ldk-node#529

That would make sense in terms of avoiding changes down the line. BUT, as with other upstream improvements it seems very hard to estimate the timeframe.

If it's likely to happen within weeks, I'd say wait. If it's more likely to be a month, or longer, I'd advocate for a temporary solution of letting a user switch LSP now.

This would enable useful testing of the different providers immediately. (Connecting to all available ones at the same time may actually impede the testing of each one)

danielnordh avatar May 08 '25 14:05 danielnordh