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

Function json_add_attempt_fields

plugins/xpay/xpay.c:628–635  ·  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

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

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