summaryrefslogtreecommitdiffstats
path: root/src/node.rs
Commit message (Collapse)AuthorAgeFilesLines
* add farewell pingtv38 hours1-0/+1
|
* read stamps sync and lock freetv39 hours1-4/+4
|
* add sync lanestv39 hours1-1/+5
|
* number handshakestv2 days1-0/+1
| | | | This prevents late hellos from resetting the session.
* add clock moduletv2 days1-1/+5
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* avoid stalled sourcetv2 days1-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 timingtv2 days1-2/+3
| | | | This enables upcoming lossy-links tests.
* recompute neighbours whenever topology changestv2 days1-0/+4
|
* build node in separate moduletv3 days1-0/+168