Rusty Russell
e0e879c003
common: remove type_to_string files altogther.
...
This means including <common/utils.h> where it was indirectly included.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-03-20 13:51:48 +10:30
Rusty Russell
37d22f9141
global: change all type_to_string to fmt_X.
...
This has the benefit of being shorter, as well as more reliable (you
will get a link error if we can't print it, not a runtime one!).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-03-20 13:51:48 +10:30
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