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

Function slowcmd_start

lightningd/jsonrpc.c:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346static void slowcmd_start(struct slowcmd *sc)
347{
348 sc->js = json_stream_success(sc->cmd);
349 new_reltimer(sc->cmd->ld->timers, sc, time_from_msec(*sc->msec),
350 slowcmd_finish, sc);
351}
352
353static struct command_result *json_dev(struct command *cmd UNUSED,
354 const char *buffer,

Callers

nothing calls this directly

Calls 2

time_from_msecFunction · 0.85
json_stream_successFunction · 0.70

Tested by

no test coverage detected