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

Function openchannel_peer_sigs_serialize

lightningd/notification.c:613–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613static void openchannel_peer_sigs_serialize(struct json_stream *stream,
614 const struct channel_id *cid,
615 const struct wally_psbt *psbt)
616{
617 json_object_start(stream, "openchannel_peer_sigs");
618 json_add_channel_id(stream, "channel_id", cid);
619 json_add_psbt(stream, "signed_psbt", psbt);
620 json_object_end(stream);
621}
622
623REGISTER_NOTIFICATION(openchannel_peer_sigs,
624 openchannel_peer_sigs_serialize);

Callers

nothing calls this directly

Calls 4

json_add_psbtFunction · 0.85
json_object_startFunction · 0.50
json_add_channel_idFunction · 0.50
json_object_endFunction · 0.50

Tested by

no test coverage detected