Skip to content

[feature]: make lncli connect --perm survive restarts #10870

Description

@ZZiigguurraatt

Currently lncli connect --perm creates a persistent connection with a peer until LND is shut down. The peer is not reconnected when LND starts back up.

Would appreciate being able to persist this in the DB somewhere and make peers re-connect across restarts of LND.

We do have

lnd/sample-lnd.conf

Lines 242 to 245 in 3e39a4d

; Specify peer(s) to connect to first.
; addpeer=
, but that is a config setting that requires a restart so we would have to do both, and we may not have access to change the config settings from the same client that does gRPC connections. Would like a CLI/gRPC call that just does it all.

We might also want lncli disconnect to have an option to temporarily disconnect a persistent peer or permanently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to existing features / behaviour

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions