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

Function json_add_secret

common/json_stream.c:653–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653void json_add_secret(struct json_stream *response, const char *fieldname,
654 const struct secret *secret)
655{
656 json_add_hex(response, fieldname, secret, sizeof(struct secret));
657}
658
659void json_add_sha256(struct json_stream *result, const char *fieldname,
660 const struct sha256 *hash)

Callers 11

json_createonionFunction · 0.85
onion_message_serializeFunction · 0.85
json_makesecretFunction · 0.85
invoice_completeFunction · 0.85
json_add_bolt11Function · 0.85
selfpayFunction · 0.85
payment_sendonionFunction · 0.85
json_add_routeFunction · 0.85
route_sendpay_requestFunction · 0.85

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected