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

Function dbid_hash

lightningd/peer_control.h:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 peer_node_id_map);
209
210static inline size_t dbid_hash(u64 dbid)
211{
212 return siphash24(siphash_seed(), &dbid, sizeof(dbid));
213}
214
215static u64 peer_dbid(const struct peer *peer)
216{

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected