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

Function notify_openchannel_peer_sigs

lightningd/notification.c:626–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624 openchannel_peer_sigs_serialize);
625
626void notify_openchannel_peer_sigs(struct lightningd *ld,
627 const struct channel_id *cid,
628 const struct wally_psbt *psbt)
629{
630 void (*serialize)(struct json_stream *,
631 const struct channel_id *cid,
632 const struct wally_psbt *) = openchannel_peer_sigs_notification_gen.serialize;
633
634 struct jsonrpc_notification *n =
635 jsonrpc_notification_start(NULL, "openchannel_peer_sigs");
636 serialize(n->stream, cid, psbt);
637 jsonrpc_notification_end(n);
638 plugins_notify(ld->plugins, take(n));
639}
640
641static void channel_open_failed_serialize(struct json_stream *stream,
642 const struct channel_id *cid)

Callers 1

handle_peer_tx_sigs_msgFunction · 0.85

Calls 3

jsonrpc_notification_endFunction · 0.85
plugins_notifyFunction · 0.85

Tested by

no test coverage detected