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

Function batch_done

plugins/libplugin.c:1227–1233  ·  view source on GitHub ↗

Runs finalcb immediately if batch is empty. */

Source from the content-addressed store, hash-verified

1225
1226/* Runs finalcb immediately if batch is empty. */
1227struct command_result *batch_done(struct command *cmd,
1228 struct request_batch *batch)
1229{
1230 /* Same path as completion */
1231 batch->num_remaining++;
1232 return batch_one_complete(cmd, batch);
1233}
1234
1235static void json_add_deprecated(struct json_stream *js,
1236 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