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

Function channel_watch_inflight

lightningd/peer_control.c:1883–1893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1881}
1882
1883static void channel_watch_inflight(struct lightningd *ld,
1884 struct channel *channel,
1885 struct channel_inflight *inflight)
1886{
1887 /* FIXME: Remove arg from cb? */
1888 watch_txid(channel, ld->topology, channel,
1889 &inflight->funding->outpoint.txid, funding_depth_cb);
1890 watch_txo(channel, ld->topology, channel,
1891 &inflight->funding->outpoint,
1892 funding_spent);
1893}
1894
1895static void json_add_peer(struct lightningd *ld,
1896 struct json_stream *response,

Callers 1

setup_peerFunction · 0.85

Calls 2

watch_txidFunction · 0.70
watch_txoFunction · 0.70

Tested by

no test coverage detected