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

Function scriptpubkey_hash

plugins/bwatch/bwatch_store.c:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19size_t scriptpubkey_hash(const struct scriptpubkey *scriptpubkey)
20{
21 return siphash24(siphash_seed(), scriptpubkey->script, scriptpubkey->len);
22}
23
24bool scriptpubkey_watch_eq(const struct watch *w, const struct scriptpubkey *scriptpubkey)
25{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected