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

Function json_add_address

common/json_stream.c:540–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540void json_add_address(struct json_stream *response, const char *fieldname,
541 const struct wireaddr *addr)
542{
543 json_object_start(response, fieldname);
544 json_add_address_fields(response, addr, "type");
545 json_object_end(response);
546}
547
548void json_add_address_internal(struct json_stream *response,
549 const char *fieldname,

Callers 4

json_getinfoFunction · 0.85
json_add_nodeFunction · 0.85

Calls 3

json_object_startFunction · 0.85
json_add_address_fieldsFunction · 0.85
json_object_endFunction · 0.85

Tested by

no test coverage detected