7fcab83bb4
In this commit, we add a series of functions that will allow users to recover existing channel backups. We do this using two primary interfaces: the ChannelRestorer, and the PeerConnector. The first interfaces allows us to abstract away the details w.r.t exactly how a channel is restored. Instead, we simply expect that the channel backup will be inserted as a sort of "channel shell" which contains only the data required to initiate the data loss protection protocol. The second interface is how we instruct the Lightning node to connect out to the channel peer given its known addresses. |
||
---|---|---|
.. | ||
backup_test.go | ||
backup.go | ||
crypto_test.go | ||
crypto.go | ||
log.go | ||
multi_test.go | ||
multi.go | ||
recover_test.go | ||
recover.go | ||
single_test.go | ||
single.go |