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

Function forward_style_name

lightningd/forwards.h:82–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 enum forward_status *status);
81
82static inline const char *forward_style_name(enum forward_style style)
83{
84 switch (style) {
85 case FORWARD_STYLE_UNKNOWN:
86 return "UNKNOWN";
87 case FORWARD_STYLE_TLV:
88 return "tlv";
89 case FORWARD_STYLE_LEGACY:
90 return "legacy";
91 }
92 abort();
93}
94
95/* wait() hooks in here */
96void forward_index_deleted(struct lightningd *ld,

Callers 1

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected