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

Function payment_hash64

plugins/renepay/payment.h:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static inline size_t payment_hash64(const struct sha256 h)
87{
88 return ((u64)h.u.u32[1] << 32) ^ h.u.u32[0];
89}
90
91static inline bool payment_hash_eq(const struct payment *p,
92 const struct sha256 h)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected