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

Function chainparams_get_network_names

bitcoin/chainparams.c:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247const char *chainparams_get_network_names(const tal_t *ctx)
248{
249 char *networks_string = tal_strdup(ctx, networks[0].network_name);
250 for (size_t i = 1; i < ARRAY_SIZE(networks); ++i)
251 tal_append_fmt(&networks_string, ", %s", networks[i].network_name);
252 return networks_string;
253}
254
255int chainparams_get_ln_port(const struct chainparams *params)
256{

Callers 1

wallet_sanity_checkFunction · 0.85

Calls 1

tal_append_fmtFunction · 0.85

Tested by

no test coverage detected