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

Function has_all

plugins/spender/multifundchannel.c:19–26  ·  view source on GitHub ↗

Flag set when any of the destinations has a value of "all". */

Source from the content-addressed store, hash-verified

17
18/* Flag set when any of the destinations has a value of "all". */
19static bool has_all(const struct multifundchannel_command *mfc)
20{
21 for (size_t i = 0; i < tal_count(mfc->destinations); i++) {
22 if (mfc->destinations[i].all)
23 return true;
24 }
25 return false;
26}
27
28size_t dest_count(const struct multifundchannel_command *mfc,
29 enum channel_protocol protocol)

Callers 3

compute_mfc_allFunction · 0.85
after_fundpsbtFunction · 0.85
perform_fundpsbtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected