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

Function json_add_preimage

common/json_stream.c:665–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void json_add_preimage(struct json_stream *result, const char *fieldname,
666 const struct preimage *preimage)
667{
668 json_add_hex(result, fieldname, preimage, sizeof(*preimage));
669}
670
671void json_add_lease_rates(struct json_stream *result,
672 const struct lease_rates *rates)

Callers 15

json_add_payment_fieldsFunction · 0.85
injectonion_succeedFunction · 0.85
json_add_invoice_fieldsFunction · 0.85
htlc_accepted_callFunction · 0.85
create_invoicereqFunction · 0.85
json_add_sendpay_resultFunction · 0.85
on_payment_successFunction · 0.85

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected