cln-plugins/persistent-channels
darosior 5a0a3a215f Add a 'requirements.txt' to probe plugin
And remove blank lines from monitor's and persistant-channels' requirements
2019-08-13 13:56:49 +02:00
..
persistent-channels.py probe: Run probes in their own thread 2019-02-20 20:10:39 +01:00
README.md persistent-channels: First implementation of persistent channels. 2019-01-21 19:45:55 +01:00
requirements.txt Add a 'requirements.txt' to probe plugin 2019-08-13 13:56:49 +02:00

Persistent Channels plugin

lightningd automatically tracks channels internally and will make sure to reconnect to a peer if it has a channel open with it. However, it only tracks the channel itself, it does not re-open a channel that was closed.

The persistent channels plugin allows you to describe a number of channels you'd like to have open at any time and the plugin will attempt to maintain that state. The plugin keeps a list of desired channels that should be opened and operational and will check every 30 seconds if it needs to open a new channel, or re-open a channel that is currently being closed.