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

Function add_to_batch

plugins/libplugin.c:1214–1224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1212}
1213
1214struct out_req *add_to_batch(struct command *cmd,
1215 struct request_batch *batch,
1216 const char *cmdname)
1217{
1218 batch->num_remaining++;
1219
1220 return jsonrpc_request_start(cmd, cmdname,
1221 batch_one_success,
1222 batch_one_failed,
1223 batch);
1224}
1225
1226/* Runs finalcb immediately if batch is empty. */
1227struct command_result *batch_done(struct command *cmd,

Callers 4

json_spamcommandFunction · 0.85
json_spamlistcommandFunction · 0.85
add_fake_channelFunction · 0.85
populate_private_layerFunction · 0.85

Calls

no outgoing calls

Tested by 2

json_spamcommandFunction · 0.68
json_spamlistcommandFunction · 0.68