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

Function fmt_routekey

plugins/renepay/route.h:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88static inline const char *fmt_routekey(const tal_t *ctx,
89 const struct routekey *k)
90{
91 char *str = tal_fmt(
92 ctx,
93 "key: groupid=%" PRIu64 ", partid=%" PRIu64 ", payment_hash=%s",
94 k->groupid, k->partid,
95 fmt_sha256(ctx, &k->payment_hash));
96 return str;
97}
98
99static inline const struct routekey *route_get_key(const struct route *route)
100{

Callers 4

route_get_payment_verifyFunction · 0.85
route_pending_registerFunction · 0.85
destroy_routeFunction · 0.85
valgrind_ok1Function · 0.85

Calls 1

fmt_sha256Function · 0.85

Tested by 2

destroy_routeFunction · 0.68
valgrind_ok1Function · 0.68