Commit graph

5 commits

Author SHA1 Message Date
Christian Decker
d1101f416f plugin: Make the recover plugin less noisy
We also reduce the frequency of the
various checks from every 2 seconds
to every 30 seconds.

Changelog-Fixed plugin: The recovery plugin is less noisy
2024-03-06 11:45:39 +01:00
Aditya Sharma
e3b4ed416c plugins/recover: Load gossmap, connect to old peers and fetch peer_storage and then call restorefrompeer repeatedly. 2024-02-16 22:17:46 +01:00
Aditya Sharma
7afdea363d plugins/recover: entering_recovering_mode should connect to most connected nodes on the network and call emergency_recover immediately. 2024-02-16 22:17:46 +01:00
Aditya Sharma
9c1f2b312c plugins/recover: Initialise process to detect lost state through listpeerchannels. 2024-02-16 22:17:46 +01:00
Aditya Sharma
4031bafc87 Plugins: Add recover plugin which'd identify if we've lost some state and try to recover the node by entering mode. 2024-02-16 22:17:46 +01:00