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

Function opt_set_splicing

lightningd/options.c:1262–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1260}
1261
1262static char *opt_set_splicing(struct lightningd *ld)
1263{
1264 /* Show deprecation warning */
1265 if (!opt_deprecated_ok(ld, "experimental_splicing", NULL,
1266 "v26.04", "v27.04"))
1267 return "--experimental-splicing is now enabled by default"
1268 " enabled by default";
1269
1270 feature_set_or(ld->our_features,
1271 take(feature_set_for_feature(NULL,
1272 OPTIONAL_FEATURE(OPT_SPLICE))));
1273 return NULL;
1274}
1275
1276static char *opt_set_shutdown_wrong_funding(struct lightningd *ld)
1277{

Callers

nothing calls this directly

Calls 3

opt_deprecated_okFunction · 0.85
feature_set_orFunction · 0.85
feature_set_for_featureFunction · 0.85

Tested by

no test coverage detected