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

Function remember_chan_dying

gossipd/routing.c:2138–2148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2136}
2137
2138void remember_chan_dying(struct routing_state *rstate,
2139 const struct short_channel_id *scid,
2140 u32 deadline_blockheight,
2141 u64 index)
2142{
2143 struct dying_channel d;
2144 d.scid = *scid;
2145 d.deadline_blockheight = deadline_blockheight;
2146 d.marker.index = index;
2147 tal_arr_expand(&rstate->dying_channels, d);
2148}
2149
2150void routing_channel_spent(struct routing_state *rstate,
2151 u32 current_blockheight,

Callers 2

gossip_store_loadFunction · 0.85
routing_channel_spentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected