mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
1348c6b35b
In this commit, we introduce a series of interfaces and methods that will allow external callers to backup either all channels, or a specific channel identified by its channel point. In order to abstract away the details w.r.t _how_ we obtain the set of open channels, or their storage mechanisms, we introduce a new LiveChannelSource interfaces. This interfaces allows us to fetch all channels, a channel by its channel point, and also all the known addresses for a node as we'll need this in order to connect out to the node in the case of a recovery attempt. |
||
---|---|---|
.. | ||
backup_test.go | ||
backup.go | ||
crypto_test.go | ||
crypto.go | ||
log.go | ||
multi_test.go | ||
multi.go | ||
single_test.go | ||
single.go |