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

Function feature_name

common/features.c:404–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404const char *feature_name(const tal_t *ctx, size_t f)
405{
406 static const char *fnames[] = {
407 "option_data_loss_protect", /* 0/1 */
408 "option_initial_routing_sync",
409 "option_upfront_shutdown_script",
410 "option_gossip_queries",
411 "option_var_onion_optin",
412 "option_gossip_queries_ex", /* 10/11 */
413 "option_static_remotekey",
414 "option_payment_secret",
415 "option_basic_mpp",
416 "option_support_large_channel",
417 "option_anchor_outputs", /* 20/21 */
418 "option_anchors",
419 "option_route_blinding", /* https://github.com/lightning/bolts/pull/765 */
420 "option_shutdown_anysegwit",
421 "option_dual_fund",
422 "option_amp", /* 30/31 */ /* https://github.com/lightning/bolts/pull/658 */
423 NULL,
424 "option_quiesce", /* https://github.com/lightning/bolts/pull/869 */
425 NULL,
426 "option_onion_messages", /* https://github.com/lightning/bolts/pull/759 */
427 NULL,
428 "option_provide_storage",
429 "option_channel_type",
430 "option_scid_alias", /* https://github.com/lightning/bolts/pull/910 */
431 "option_payment_metadata",
432 "option_zeroconf", /* 50/51, https://github.com/lightning/bolts/pull/910 */
433 NULL,
434 "option_keysend",
435 "option_trampoline_routing", /* https://github.com/lightning/bolts/pull/836 */
436 NULL,
437 NULL, /* 60/61 */
438 "option_splice",
439 NULL,
440 NULL,
441 NULL,
442 NULL, /* 70/71 */
443 NULL,
444 NULL,
445 NULL,
446 NULL,
447 NULL, /* 80/81 */
448 NULL,
449 NULL,
450 NULL,
451 NULL,
452 NULL, /* 90/91 */
453 NULL,
454 NULL,
455 NULL,
456 NULL,
457 NULL, /* 100/101 */
458 NULL,
459 NULL,
460 NULL,
461 NULL,

Callers 3

channel_type_nameFunction · 0.85
list_supported_featuresFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected