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

Function channel_has

common/initial_channel.c:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220bool channel_has(const struct channel *channel, int feature)
221{
222 return channel_type_has(channel->type, feature);
223}
224
225bool channel_has_anchors(const struct channel *channel)
226{

Callers 15

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

Calls 1

channel_type_hasFunction · 0.85

Tested by

no test coverage detected