| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | swarm: the peer worker's periodic checks run when something happened, and ↵HEADmaster | tv | 11 hours | 1 | -1/+1 |
| | | | | | | | | | | | | | | | rarely when quiet Every five seconds the peer worker looked at the forget records, the member registry, stability, whom the node reaches, its links, its clock, its measurements and the state file. It now looks five seconds after the document or a peer's state changed, every five seconds while something of these is under way (the node not ready or catching up, a forget record not acted on, a link's change not settled, the tier after a restart not decided, a neighbour not reached), and once a minute otherwise, for what changes with time alone. Stability takes two measurements more than two minutes apart for the node not having run. | ||||
| * | peer worker sleeps until deadline, not fixed time | tv | 2026-11-01 | 1 | -0/+16 |
| | | |||||
| * | unify request_sync logic | tv | 2026-10-31 | 1 | -3/+2 |
| | | |||||
| * | unify source reset | tv | 2026-10-31 | 1 | -3/+9 |
| | | |||||
| * | rename PING/PONG to STATUS/STATUS_REPLY | tv | 2026-10-28 | 1 | -2/+2 |
| | | |||||
| * | talk about "transport" unless mycelium is meant | tv | 2026-10-27 | 1 | -11/+11 |
| | | |||||
| * | unify lock logic | tv | 2026-10-26 | 1 | -12/+4 |
| | | |||||
| * | refresh peers after stall | tv | 2026-10-25 | 1 | -1/+6 |
| | | |||||
| * | avoid stalled source | tv | 2026-10-25 | 1 | -2/+24 |
| | | | | | | | | | | | | | | 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. | ||||
| * | MYCELIUM_DELIVERY_LIMIT -> Timing::delivery_limit | tv | 2026-10-25 | 1 | -6/+3 |
| | | |||||
| * | require catch-up source to make progress | tv | 2026-10-25 | 1 | -1/+89 |
| | | |||||
| * | add chunked download and use it during rejoin | tv | 2026-10-24 | 1 | -1/+1 |
| | | |||||
| * | add swarm stats | tv | 2026-10-24 | 1 | -0/+1 |
| | | |||||
| * | record RTT sampling instant | tv | 2026-10-24 | 1 | -2/+3 |
| | | |||||
| * | prefer closer sources to catch up | tv | 2026-10-24 | 1 | -3/+42 |
| | | |||||
| * | enrich keepalive content | tv | 2026-10-23 | 1 | -0/+169 |
| Add ready and syncs_with_you flags as well as actual heads, so the peer - ready: same meaning as in the sync message - syncs_with_you: sender counts recipient as member and in same epoch - heads: allows to tell who's behind or if both sides have changes | |||||
