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

Function rune_unique_id

lightningd/runes.c:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72u64 rune_unique_id(const struct rune *rune)
73{
74 u64 num;
75
76 /* Any of our runes must have valid unique ids! */
77 if (!unique_id_num(rune, &num))
78 abort();
79 return num;
80}
81
82static const char *last_time_check(const struct rune *rune,
83 struct cond_info *cinfo,

Callers 2

is_rune_blacklistedFunction · 0.70
json_showrunesFunction · 0.70

Calls 2

unique_id_numFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected