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

Function notify_channel_open_failed

lightningd/notification.c:652–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650 channel_open_failed_serialize);
651
652void notify_channel_open_failed(struct lightningd *ld,
653 const struct channel_id *cid)
654{
655 void (*serialize)(struct json_stream *,
656 const struct channel_id *) = channel_open_failed_notification_gen.serialize;
657
658 struct jsonrpc_notification *n =
659 jsonrpc_notification_start(NULL, "channel_open_failed");
660 serialize(n->stream, cid);
661 jsonrpc_notification_end(n);
662 plugins_notify(ld->plugins, take(n));
663}
664
665REGISTER_NOTIFICATION(shutdown, NULL);
666

Callers 2

handle_commit_receivedFunction · 0.70
channel_cleanup_commandsFunction · 0.70

Calls 3

jsonrpc_notification_endFunction · 0.85
plugins_notifyFunction · 0.85

Tested by

no test coverage detected