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

Function json_add_attempt_fields

plugins/xpay/xpay.c:623–630  ·  view source on GitHub ↗

We can notify others of what the details are, so they can do their own * layer heuristics. */

Source from the content-addressed store, hash-verified

621/* We can notify others of what the details are, so they can do their own
622 * layer heuristics. */
623static void json_add_attempt_fields(struct json_stream *js,
624 const struct attempt *attempt)
625{
626 /* These three uniquely identify this attempt */
627 json_add_sha256(js, "payment_hash", &attempt->payment->payment_hash);
628 json_add_u64(js, "groupid", attempt->payment->group_id);
629 json_add_u64(js, "partid", attempt->partid);
630}
631
632static void outgoing_notify_start(const struct attempt *attempt)
633{

Callers 3

outgoing_notify_startFunction · 0.85
outgoing_notify_successFunction · 0.85
outgoing_notify_failureFunction · 0.85

Calls 2

json_add_sha256Function · 0.85
json_add_u64Function · 0.85

Tested by

no test coverage detected