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

Function cmp_node_num_chans

devtools/gossmap-compress.c:85–90  ·  view source on GitHub ↗

Backwards, we want larger first */

Source from the content-addressed store, hash-verified

83
84/* Backwards, we want larger first */
85static int cmp_node_num_chans(struct gossmap_node *const *a,
86 struct gossmap_node *const *b,
87 void *unused)
88{
89 return (int)(*b)->num_chans - (int)(*a)->num_chans;
90}
91
92static void write_bigsize(gzFile outf, u64 val)
93{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected