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

Function u32_hash

lightningd/watch.c:521–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521size_t u32_hash(u32 val)
522{
523 return siphash24(siphash_seed(), &val, sizeof(val));
524}
525
526bool blockdepthwatch_eq(const struct blockdepthwatch *w, u32 height)
527{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected