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

Function json_add_layer_key

plugins/askrene/layer.c:404–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404static void json_add_layer_key(struct json_stream *js,
405 const char *fieldname,
406 const struct layer *layer)
407{
408 json_array_start(js, fieldname);
409 json_add_string(js, NULL, "askrene");
410 json_add_string(js, NULL, "layers");
411 json_add_string(js, NULL, layer->name);
412 json_array_end(js);
413}
414
415static void save_remove(struct layer *layer)
416{

Callers 3

save_removeFunction · 0.85
append_layer_datastoreFunction · 0.85
save_complete_layerFunction · 0.85

Calls 3

json_array_startFunction · 0.85
json_array_endFunction · 0.85
json_add_stringFunction · 0.50

Tested by

no test coverage detected