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

Function remove_unknown_scid

gossipd/seeker.c:1152–1160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150}
1151
1152bool remove_unknown_scid(struct seeker *seeker,
1153 const struct short_channel_id *scid,
1154 bool found /*FIXME: use this info!*/)
1155{
1156 if (!uintmap_del(&seeker->unknown_scids, scid->u64))
1157 return false;
1158 seeker->num_unknown_scids--;
1159 return true;
1160}
1161
1162/* This peer told us about an update to an unknown channel. Ask it for a
1163 * channel_announcement. */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected