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

Function after_send_scb_single

plugins/chanbackup.c:541–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541static struct command_result *after_send_scb_single(struct command *cmd,
542 const char *method,
543 const char *buf,
544 const jsmntok_t *params,
545 struct info *info)
546{
547 plugin_log(cmd->plugin, LOG_TRACE, "Peer storage sent!");
548 if (--(*info->idx) != 0)
549 return command_still_pending(cmd);
550
551 return notification_or_hook_done(cmd);
552}
553
554static struct command_result *after_send_scb_single_fail(struct command *cmd,
555 const char *method,

Callers

nothing calls this directly

Calls 3

plugin_logFunction · 0.70
command_still_pendingFunction · 0.70

Tested by

no test coverage detected