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

Function json_add_node_id

common/json_stream.c:420–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void json_add_node_id(struct json_stream *response,
421 const char *fieldname,
422 const struct node_id *id)
423{
424 json_add_hex(response, fieldname, id->k, sizeof(id->k));
425}
426
427void json_add_channel_id(struct json_stream *response,
428 const char *fieldname,

Callers 15

json_listfundsFunction · 0.85
json_listnetworkeventsFunction · 0.85
json_add_unsaved_channelFunction · 0.85
listnodes_doneFunction · 0.85
json_checkmessageFunction · 0.85
peer_connected_serializeFunction · 0.85
json_add_peerFunction · 0.85
graceful_timeoutFunction · 0.85
json_getinfoFunction · 0.85
set_channel_configFunction · 0.85

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected