Open
Description
- We should only store latestscb if the timestamp is greater than the previous.
- There should be a way to query the contents of latest scb.
Ideally, recovery looks like:
- Connect to some node, get gossip.
- Look for existing public channels. If they exist, connect to them.
- Otherwise, connect (not too quickly!) to peers which offer recovery, in the hope one has our data.
- When we have a peerbackup, look for more peers to connect to, based on what that says we have channels with.
- Finally, when we have connected to all of those which are reachable, act on the latest scb (restorefrompeer)
showpeerbackup ? - gives raw backup hex, and details about it (esp. what peers!)
Also, restorefrompeer is undocumented, so we can rework that interface if we want.
Metadata
Metadata
Assignees
Labels
No labels