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

Function cmp_height

lightningd/peer_control.c:3410–3419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3408}
3409
3410static int cmp_height(const u32 *a,
3411 const u32 *b,
3412 void *unused)
3413{
3414 if (*a > *b)
3415 return 1;
3416 if (*b < *a)
3417 return -1;
3418 return 0;
3419}
3420
3421static void graceful_timeout(struct graceful_waiter *gw)
3422{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected