const MIN_RACES_OVER_ONE_HOP: usize = 4;Expand description
The fewest overdue replies that make a relayer a black hole over one of its hops while it delivers
over the other (see RaceHistory::hop_at_fault).
More than MIN_RACES. That it delivers at all says it is alive, so what is left to judge is
one hop, on half its replies, and a verdict over one hop is acted on once that hop has been
silent for a flush, which a hop carrying little is anyway. With replies lost at random,
MIN_RACES in a row over one hop then come about by chance. Simulated on this code with every
relayer healthy and 5 or 10 % of the replies lost: with return paths drawn at random among 30
relayers, 13 verdicts acted on with three against 3 with four; with the planner’s sets of eight
paths it makes no difference (5 against 4). It is margin, and cheap: on a cluster a relayer cut
off from the replier has a median of 9 replies overdue at the flush that first suspects it.