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

Function node_id_to_hexstr

common/node_id.c:46–49  ·  view source on GitHub ↗

Convert to hex string of SEC1 encoding */

Source from the content-addressed store, hash-verified

44
45/* Convert to hex string of SEC1 encoding */
46char *node_id_to_hexstr(const tal_t *ctx, const struct node_id *id)
47{
48 return tal_hexstr(ctx, id->k, sizeof(id->k));
49}
50REGISTER_TYPE_TO_STRING(node_id, node_id_to_hexstr);
51
52/* Convert from hex string of SEC1 encoding */

Callers 15

decode_nFunction · 0.70
hsmd_status_fmtFunction · 0.50
keysend_cbFunction · 0.50
check_conditionFunction · 0.50
handle_incmdFunction · 0.50
handle_replyFunction · 0.50
fundchannel_complete_okFunction · 0.50
fundchannel_complete_errFunction · 0.50
fundchannel_start_okFunction · 0.50
fundchannel_start_errFunction · 0.50
fundchannel_start_destFunction · 0.50

Calls 1

tal_hexstrFunction · 0.85

Tested by

no test coverage detected