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

Function json_add_pubkey

common/json_stream.c:408–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void json_add_pubkey(struct json_stream *response,
409 const char *fieldname,
410 const struct pubkey *key)
411{
412 u8 der[PUBKEY_CMPR_LEN];
413
414 pubkey_to_der(der, key);
415 json_add_hex(response, fieldname, der, sizeof(der));
416}
417
418void json_add_point32(struct json_stream *response,
419 const char *fieldname,

Callers 9

json_listaddrsFunction · 0.85
json_checkmessageFunction · 0.85
json_add_blindedpathFunction · 0.85
onion_message_serializeFunction · 0.85
send_modern_messageFunction · 0.85
make_reply_pathFunction · 0.85
send_onion_replyFunction · 0.85
json_add_onionmsg_pathFunction · 0.85
json_add_blinded_pathsFunction · 0.85

Calls 2

json_add_hexFunction · 0.85
pubkey_to_derFunction · 0.50

Tested by

no test coverage detected