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

Function feature_offered

common/features.c:352–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352bool feature_offered(const u8 *features, size_t f)
353{
354 return feature_is_set(features, COMPULSORY_FEATURE(f))
355 || feature_is_set(features, OPTIONAL_FEATURE(f));
356}
357
358bool feature_negotiated(const struct feature_set *our_features,
359 const u8 *their_features, size_t f)

Callers 15

channel_type_hasFunction · 0.70
channel_type_acceptFunction · 0.70
feature_set_orFunction · 0.70
feature_set_subFunction · 0.70
feature_negotiatedFunction · 0.70
feature_check_dependsFunction · 0.70
all_supported_featuresFunction · 0.70
setup_peer_gossip_storeFunction · 0.50
handle_onion_messageFunction · 0.50
set_channel_typeFunction · 0.50
init_channelFunction · 0.50

Calls 1

feature_is_setFunction · 0.70

Tested by 1

mainFunction · 0.40