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

Function sendonionmsg_done

plugins/fetchinvoice.c:460–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460static struct command_result *sendonionmsg_done(struct command *cmd,
461 const char *buf UNUSED,
462 const jsmntok_t *result UNUSED,
463 struct sent *sent)
464{
465 tal_steal(cmd, plugin_timer(cmd->plugin,
466 time_from_sec(sent->wait_timeout),
467 timeout_sent_invreq, sent));
468 sent->cmd = cmd;
469 list_add_tail(&sent_list, &sent->list);
470 tal_add_destructor(sent, destroy_sent);
471 return command_still_pending(cmd);
472}
473
474static void init_gossmap(struct plugin *plugin)
475{

Callers 1

prepare_inv_timeoutFunction · 0.85

Calls 3

time_from_secFunction · 0.85
plugin_timerClass · 0.70
command_still_pendingFunction · 0.70

Tested by

no test coverage detected