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

Function process_onionpacket

common/sphinx.c:747–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747struct route_step *process_onionpacket(
748 const tal_t *ctx,
749 const struct onionpacket *msg,
750 const struct secret *shared_secret,
751 const u8 *assocdata,
752 const size_t assocdatalen
753 )
754{
755 return process_onion(ctx, msg, shared_secret,
756 assocdata, assocdatalen, false);
757}
758
759struct route_step *process_onionmsg_packet(const tal_t *ctx,
760 const struct onionpacket *msg,

Callers 7

json_injectpaymentonionFunction · 0.85
peer_accepted_htlcFunction · 0.85
decode_onionFunction · 0.85
next_onionFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
decode_with_privkeyFunction · 0.85

Calls 1

process_onionFunction · 0.85

Tested by 3

next_onionFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68