channel_reach

Function channel_reach 

Source
pub fn channel_reach(
    channels: &ChannelRegistry,
    well_known: &WellKnownChannels,
    channel: &ChannelTag,
    default_hops: u8,
) -> u8
Expand description

How far traffic on a channel may travel: the ceiling the user registered for it, otherwise default_hops—and never past the ceiling the protocol fixes for the well-known public and EMERGENCY channels.