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

Function batch_done

plugins/libplugin.c:1237–1243  ·  view source on GitHub ↗

Runs finalcb immediately if batch is empty. */

Source from the content-addressed store, hash-verified

1235
1236/* Runs finalcb immediately if batch is empty. */
1237struct command_result *batch_done(struct command *cmd,
1238 struct request_batch *batch)
1239{
1240 /* Same path as completion */
1241 batch->num_remaining++;
1242 return batch_one_complete(cmd, batch);
1243}
1244
1245static void json_add_deprecated(struct json_stream *js,
1246 const char *fieldname,

Callers 3

json_spamcommandFunction · 0.85
json_spamlistcommandFunction · 0.85
populate_private_layerFunction · 0.85

Calls 1

batch_one_completeFunction · 0.85

Tested by 2

json_spamcommandFunction · 0.68
json_spamlistcommandFunction · 0.68