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

Function json_add_sha256

common/json_stream.c:659–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659void json_add_sha256(struct json_stream *result, const char *fieldname,
660 const struct sha256 *hash)
661{
662 json_add_hex(result, fieldname, hash, sizeof(*hash));
663}
664
665void json_add_preimage(struct json_stream *result, const char *fieldname,
666 const struct preimage *preimage)

Callers 15

json_add_htlcsFunction · 0.85
json_add_payment_fieldsFunction · 0.85
json_listhtlcsFunction · 0.85
json_populate_offerFunction · 0.85
json_populate_invreqFunction · 0.85
json_devFunction · 0.85
json_add_invoice_fieldsFunction · 0.85

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected