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

Function features_unsupported

common/features.c:411–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411int features_unsupported(const struct feature_set *our_features,
412 const u8 *their_features,
413 enum feature_place p)
414{
415 /* BIT 2 would logically be "compulsory initial_routing_sync", but
416 * that does not exist, so we special case it. */
417 if (feature_is_set(their_features,
418 COMPULSORY_FEATURE(OPT_INITIAL_ROUTING_SYNC)))
419 return COMPULSORY_FEATURE(OPT_INITIAL_ROUTING_SYNC);
420
421 return all_supported_features(our_features, their_features, p);
422}
423
424const char *feature_name(const tal_t *ctx, size_t f)
425{

Callers 5

decode_9Function · 0.70
check_features_and_chainFunction · 0.70
peer_connectedFunction · 0.50
handle_invoice_requestFunction · 0.50
handle_invoiceFunction · 0.50

Calls 2

all_supported_featuresFunction · 0.85
feature_is_setFunction · 0.70

Tested by

no test coverage detected