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

Function channel_watch_depth

lightningd/peer_control.c:2641–2649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2639}
2640
2641void channel_watch_depth(struct lightningd *ld,
2642 u32 blockheight,
2643 struct channel *channel)
2644{
2645 watch_blockdepth(channel, ld->topology, blockheight,
2646 funding_depth_cb,
2647 funding_reorged_cb,
2648 channel);
2649}
2650
2651/* We see this tx output spend to the funding address. */
2652static void channel_funding_found(struct lightningd *ld,

Callers 2

handle_channel_lockedFunction · 0.85
channel_funding_foundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected