Skip to main content

channel_address_attempt_schedule_like_cpp

Function channel_address_attempt_schedule_like_cpp 

Source
pub fn channel_address_attempt_schedule_like_cpp(
    plan: &ChannelAddressPlan,
) -> Vec<ChannelAddressAttempt>
Expand description

Expand a strategy plan into C++’s overlapping Connector timer schedule.

Concurrency starts immediately, guaranteed joins after 3 seconds, and anti-DDoS joins one second after guaranteed. Earlier attempts remain live; the first successful TCP connection wins.

Ref: connector.cpp:224-271,375-397.