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

Function channel_has

common/initial_channel.c:180–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180bool channel_has(const struct channel *channel, int feature)
181{
182 return channel_type_has(channel->type, feature);
183}
184
185static char *fmt_channel_view(const tal_t *ctx, const struct channel_view *view)
186{

Callers 15

initial_channel_txFunction · 0.70
channel_upgradable_typeFunction · 0.70
channel_desired_typeFunction · 0.70
penalty_tx_createFunction · 0.50
set_channel_typeFunction · 0.50
calc_commitsigsFunction · 0.50
handle_peer_commit_sigFunction · 0.50
peer_reconnectFunction · 0.50
add_htlcsFunction · 0.50
channel_txsFunction · 0.50
fee_for_htlcsFunction · 0.50
htlc_dustFunction · 0.50

Calls 1

channel_type_hasFunction · 0.70

Tested by

no test coverage detected