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

Function bolt12_path_id

common/bolt12_id.c:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30u8 *bolt12_path_id(const tal_t *ctx,
31 const struct secret *base_secret,
32 const struct sha256 *payment_hash)
33{
34 struct secret path_secret;
35 bolt12_path_secret(base_secret, payment_hash, &path_secret);
36
37 return (u8 *)tal_dup(ctx, struct secret, &path_secret);
38}
39
40void bolt12_alias_tweak(const struct secret *base_secret,
41 const void *input,

Callers 3

add_stub_blindedpathFunction · 0.85
found_best_peerFunction · 0.85
handle_invoiceFunction · 0.85

Calls 1

bolt12_path_secretFunction · 0.85

Tested by

no test coverage detected