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

Function wait_subsystem_name

lightningd/wait.c:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51const char *wait_subsystem_name(enum wait_subsystem subsystem)
52{
53 switch (subsystem) {
54 case WAIT_SUBSYSTEM_FORWARD:
55 case WAIT_SUBSYSTEM_SENDPAY:
56 case WAIT_SUBSYSTEM_INVOICE:
57 case WAIT_SUBSYSTEM_HTLCS:
58 case WAIT_SUBSYSTEM_CHAINMOVES:
59 case WAIT_SUBSYSTEM_CHANNELMOVES:
60 case WAIT_SUBSYSTEM_NETWORKEVENTS:
61 return subsystem_names[subsystem];
62 }
63 abort();
64}
65
66static u64 *wait_index_ptr(struct lightningd *ld,
67 enum wait_subsystem subsystem,

Callers 3

json_add_indexFunction · 0.70
wait_index_bumpFunction · 0.70
json_waitFunction · 0.70

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected