summaryrefslogtreecommitdiffstats
path: root/src/node.rs
Commit message (Collapse)AuthorAgeFilesLines
* avoid stalled sourcetv20 hours1-0/+1
| | | | | | | | | | | | | A source given up for not answering our sync messages could become the source again straight away. Whoever asks first after the reset takes the role, and that's often the same peer, which would then stall for another delivery limit. Now, a stalled source isn't chosen again for one more delivery_limit. If it's the only candidate, catching up waits that long and then tries it again. Before, a retry with that peer couldn't have helped any sooner anyway: a source is only given up after a whole delivery limit without a sync message, and that clock restarts when it is chosen again.
* make sync reply timeout part of timingtv21 hours1-2/+3
| | | | This enables upcoming lossy-links tests.
* recompute neighbours whenever topology changestv21 hours1-0/+4
|
* build node in separate moduletv22 hours1-0/+168