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

Function hash_txid

plugins/bkpr/blockheights.c:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21static size_t hash_txid(const struct bitcoin_txid *txid)
22{
23 return siphash24(siphash_seed(), txid->shad.sha.u.u8,
24 sizeof(txid->shad.sha.u.u8));
25}
26
27static const struct bitcoin_txid *
28blockheight_key(const struct blockheight_entry *e)

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected