Skip to content

allow disabling unneeded subservers #597

Closed
@AndySchroder

Description

@AndySchroder

Lightning Terminal has a nice LND Accounts feature. There are also a lot of other cool services bundled in Lightning Terminal that have nothing to do with LND Accounts:

  • faraday
  • loop
  • pool
  • taproot assets

For all of these services we have the mode option of integrated|remote. I'd like a third option of disabled, especially if you are running with --disableui.

I'd like the ability to disable all this other stuff for the following reasons:

  • Reduce system resources.
  • Eliminate attack vectors on unused services.
  • Remove taproot assets if I don't want to work with non-bitcoin stuff (I know right now this is only enabled if you are on testnet, but I assume you will change that in the future).
  • Running multiple instances of litd on the same machine just to have multiple LND Account systems is a complete mess with all the extra subservers. I need to adjust the data directory and the RPC TCP ports for every subserver.

Another option would be to separate the LND Accounts feature into its own stand alone application and then integrate it like all the other subservers are back into litd. Possibly you should allow for doing both.

Would it be currently possible to compile litd with some different flags without that other stuff in it, rather than have a setting to turn things off?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions