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

Function opt_lightningd_usage

lightningd/options.c:1157–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155}
1156
1157static char *opt_lightningd_usage(struct lightningd *ld)
1158{
1159 char *extra = tal_fmt(NULL, "\nA bitcoin lightning daemon (default "
1160 "values shown for network: %s).", chainparams->network_name);
1161 opt_usage_and_exit(extra);
1162 tal_free(extra);
1163 return NULL;
1164}
1165
1166static char *opt_start_daemon(struct lightningd *ld)
1167{

Callers

nothing calls this directly

Calls 2

opt_usage_and_exitFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected