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

Function new_blockheight

lightningd/channel_gossip.c:1070–1075  ·  view source on GitHub ↗

Block height changed */

Source from the content-addressed store, hash-verified

1068
1069/* Block height changed */
1070static void new_blockheight(struct lightningd *ld,
1071 struct channel *channel)
1072{
1073 /* This can change state if we're CGOSSIP_WAITING_FOR_ANNOUNCE_DEPTH */
1074 update_gossip_state(channel);
1075}
1076
1077void channel_gossip_notify_new_block(struct lightningd *ld)
1078{

Callers 1

Calls 1

update_gossip_stateFunction · 0.85

Tested by

no test coverage detected