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

Function hash_payment_hash

plugins/bkpr/descriptions.c:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 utxo_desc_htable);
52
53static size_t hash_payment_hash(const struct sha256 *h)
54{
55 return siphash24(siphash_seed(), h->u.u8, sizeof(h->u.u8));
56}
57
58static const struct sha256 *payment_hash_key(const struct payment_hash_desc *phd)
59{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected