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

Function funding_queue_join

plugins/funder.c:437–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435 struct open_info *info);
436
437static struct command_result *funding_queue_join(struct command *cmd,
438 struct open_info *info)
439{
440 bool idle = list_empty(&funding_queue);
441
442 info->cmd = cmd;
443 list_add_tail(&funding_queue, &info->list);
444 if (!idle)
445 return command_still_pending(cmd);
446
447 return send_listfunds(cmd, info);
448}
449
450/* Our utxos are reserved (or we're not funding): let the next one go. */
451static void funding_queue_done(struct open_info *info)

Callers 3

json_openchannel2_callFunction · 0.85
datastore_list_failFunction · 0.85
datastore_list_successFunction · 0.85

Calls 2

send_listfundsFunction · 0.85
command_still_pendingFunction · 0.70

Tested by

no test coverage detected