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

Function opt_set_dual_fund

lightningd/options.c:1237–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237static char *opt_set_dual_fund(struct lightningd *ld)
1238{
1239 /* Dual funding implies static remotkey */
1240 feature_set_or(ld->our_features,
1241 take(feature_set_for_feature(NULL,
1242 OPTIONAL_FEATURE(OPT_STATIC_REMOTEKEY))));
1243 feature_set_or(ld->our_features,
1244 take(feature_set_for_feature(NULL,
1245 OPTIONAL_FEATURE(OPT_DUAL_FUND))));
1246 return NULL;
1247}
1248
1249static char *opt_set_splicing(struct lightningd *ld)
1250{

Callers

nothing calls this directly

Calls 2

feature_set_orFunction · 0.85
feature_set_for_featureFunction · 0.85

Tested by

no test coverage detected