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

Function add_to_batch

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

Source from the content-addressed store, hash-verified

1222}
1223
1224struct out_req *add_to_batch(struct command *cmd,
1225 struct request_batch *batch,
1226 const char *cmdname)
1227{
1228 batch->num_remaining++;
1229
1230 return jsonrpc_request_start(cmd, cmdname,
1231 batch_one_success,
1232 batch_one_failed,
1233 batch);
1234}
1235
1236/* Runs finalcb immediately if batch is empty. */
1237struct 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