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

Function funding_queue_done

plugins/funder.c:451–461  ·  view source on GitHub ↗

Our utxos are reserved (or we're not funding): let the next one go. */

Source from the content-addressed store, hash-verified

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)
452{
453 struct open_info *next;
454
455 /* Only the head of the queue gets this far. */
456 assert(list_top(&funding_queue, struct open_info, list) == info);
457 list_del_from(&funding_queue, &info->list);
458 next = list_top(&funding_queue, struct open_info, list);
459 if (next)
460 send_listfunds(next->cmd, next);
461}
462
463static struct command_result *
464psbt_funded(struct command *cmd,

Callers 4

psbt_fundedFunction · 0.85
psbt_fund_failedFunction · 0.85
listfunds_successFunction · 0.85
listfunds_failedFunction · 0.85

Calls 2

list_del_fromFunction · 0.85
send_listfundsFunction · 0.85

Tested by

no test coverage detected