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

Function node_id_keyof

common/node_id.h:55–58  ·  view source on GitHub ↗

Hash table functions for node ids */

Source from the content-addressed store, hash-verified

53
54/* Hash table functions for node ids */
55static inline const struct node_id *node_id_keyof(const struct node_id *id)
56{
57 return id;
58}
59
60/* We need to define a hashing function. siphash24 is a fast yet
61 * cryptographic hash in ccan/crypto/siphash24; we might be able to get away

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected