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

Function rune_unique_id

lightningd/runes.c:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

is_rune_blacklistedFunction · 0.70
json_showrunesFunction · 0.70
update_rune_usage_timeFunction · 0.70

Calls 2

unique_id_numFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected