Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ is_disabled
Function
is_disabled
gossipd/gossip_generation.c:418–421 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
416
}
417
418
static bool is_disabled(const u8 *channel_update)
419
{
420
return *channel_flags_access(channel_update) & ROUTING_FLAGS_DISABLED;
421
}
422
423
static bool is_enabled(const u8 *channel_update)
424
{
Callers
3
is_enabled
Function · 0.85
sign_and_timestamp_update
Function · 0.85
local_disable_chan
Function · 0.85
Calls
1
channel_flags_access
Function · 0.85
Tested by
no test coverage detected