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

Function remove_channel_from_store

gossipd/routing.c:866–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866static void remove_channel_from_store(struct routing_state *rstate,
867 struct chan *chan)
868{
869 /* Put in tombstone marker */
870 gossip_store_mark_channel_deleted(rstate->gs, &chan->scid);
871
872 /* Now delete old entries. */
873 delete_chan_messages_from_store(rstate, chan);
874}
875
876bool routing_add_channel_announcement(struct routing_state *rstate,
877 const u8 *msg TAKES,

Callers 2

route_pruneFunction · 0.85
channel_spentFunction · 0.85

Tested by

no test coverage detected