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
|
|
|
; 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.
Currently
lncli connect --permcreates 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
We might also want
lncli disconnectto have an option to temporarily disconnect a persistent peer or permanently.