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

Function channel_has

lightningd/channel.h:947–950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945 const struct bitcoin_signature *sig);
946
947static inline bool channel_has(const struct channel *channel, int f)
948{
949 return channel_type_has(channel->type, f);
950}
951
952/**
953 * Either returns the short_channel_id if it is known or the local alias.

Callers 10

json_add_htlcsFunction · 0.70
commit_txfeeFunction · 0.70
peer_control.cFile · 0.70
onchaind_funding_spentFunction · 0.70
peer_start_closingdFunction · 0.70
routehint_candidatesFunction · 0.70
fundee_channelFunction · 0.50

Calls 1

channel_type_hasFunction · 0.85

Tested by

no test coverage detected