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

Function json_add_layer_key

plugins/askrene/layer.c:411–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411static void json_add_layer_key(struct json_stream *js,
412 const char *fieldname,
413 const struct layer *layer)
414{
415 json_array_start(js, fieldname);
416 json_add_string(js, NULL, "askrene");
417 json_add_string(js, NULL, "layers");
418 json_add_string(js, NULL, layer->name);
419 json_array_end(js);
420}
421
422static void save_remove(struct layer *layer)
423{

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