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

Function peer_after_send_scb_failed

plugins/chanbackup.c:513–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513static struct command_result *peer_after_send_scb_failed(struct command *cmd,
514 const char *method,
515 const char *buf,
516 const jsmntok_t *params,
517 struct node_id *nodeid)
518{
519 plugin_log(cmd->plugin, LOG_DBG, "Peer storage send failed %.*s!",
520 json_tok_full_len(params), json_tok_full(buf, params));
521 remove_peer(cmd->plugin, nodeid);
522 return command_hook_success(cmd);
523}
524
525struct info {
526 size_t *idx;

Callers

nothing calls this directly

Calls 5

remove_peerFunction · 0.85
plugin_logFunction · 0.70
command_hook_successFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected