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

Function rune_sha256_add_restr

ccan/ccan/rune/coding.c:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void rune_sha256_add_restr(struct sha256_ctx *shactx,
118 struct rune_restr *restr)
119{
120 rune_restr_encode(restr, to_sha256, shactx);
121 rune_sha256_endmarker(shactx);
122}
123
124const char *rune_is_derived(const struct rune *source, const struct rune *rune)
125{

Callers 2

rune_add_restrFunction · 0.85

Calls 2

rune_restr_encodeFunction · 0.85
rune_sha256_endmarkerFunction · 0.85

Tested by

no test coverage detected