Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
220
bool channel_has(const struct channel *channel, int feature)
221
{
222
return channel_type_has(channel->type, feature);
223
}
224
225
bool channel_has_anchors(const struct channel *channel)
226
{
Callers
15
initial_channel_tx
Function · 0.70
channel_upgradable_type
Function · 0.70
channel_desired_type
Function · 0.70
penalty_tx_create
Function · 0.50
calc_commitsigs
Function · 0.50
peer_reconnect
Function · 0.50
add_htlcs
Function · 0.50
channel_txs
Function · 0.50
fee_for_htlcs
Function · 0.50
htlc_dust
Function · 0.50
local_opener_has_fee_headroom
Function · 0.50
add_htlc
Function · 0.50
Calls
1
channel_type_has
Function · 0.85
Tested by
no test coverage detected