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

Function routekey_hash

plugins/renepay/route.h:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static inline size_t routekey_hash(const struct routekey *k)
105{
106 return k->payment_hash.u.u32[0] ^ (k->groupid << 32) ^ k->partid;
107}
108
109static inline bool routekey_equal(const struct route *route,
110 const struct routekey *k)

Callers 1

valgrind_ok1Function · 0.85

Calls

no outgoing calls

Tested by 1

valgrind_ok1Function · 0.68