aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 20:24:39 +0000
committertv <tv@krebsco.de>2026-11-13 20:24:39 +0000
commit5913c6cc383ade12a8edc01d0f47d9671fb53227 (patch)
treee78aef7551e544f3d73175a680e3990e97bda0bc /src/simtest/mod.rs
parente8a6110722b3d9cb6611631eeafedddd4f9b4cec (diff)
relay: a STATUS's heads wait at least 50 ms before they are pulled
A neighbour pulls heads a STATUS listed only if it still lacks them after a round trip to the sender, as they are usually on their way along a writer's tree. With no round trip known, or one measured long ago (busy pairs send no keepalives), it pulled at once; with a short one, a STATUS sent right after a change can overtake it by more than that round trip, delays varying per message. Either way the change came twice (`trees_hold_through_continuous_writes`: c pulled once while every write reached it along x's tree). The wait is the round trip, but 50 ms at least (and 1 s at most, as before).
Diffstat (limited to 'src/simtest/mod.rs')
0 files changed, 0 insertions, 0 deletions