MCPcopy Create free account
hub / github.com/ElementsProject/lightning / do_check_lost_peer

Function do_check_lost_peer

plugins/recover.c:233–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233static struct command_result *do_check_lost_peer(struct command *cmd, void *unused)
234{
235
236 /* Set to NULL when already in progress. */
237 lost_state_timer = NULL;
238
239 if (recovery) {
240 return timer_complete(cmd);
241 }
242
243 return check_lost_peer(cmd);
244}
245
246static const char *init(struct command *init_cmd,
247 const char *buf UNUSED,

Callers

nothing calls this directly

Calls 2

timer_completeFunction · 0.85
check_lost_peerFunction · 0.85

Tested by

no test coverage detected