aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/hyparview.rs
Commit message (Collapse)AuthorAgeFilesLines
* hyparview: a member with k takes one a neighbour shorttv4 days1-8/+19
| | | | | | | | | | | | | | | A member one neighbour short asks once per `ONE_SHORT_EVERY` (300 s), and a member with `k` refused it. When a member most others had as a neighbour went away, three members ended up each with the other two as neighbours, one short each; each asked once, was refused by a full member, and waited five minutes. Changes pass only between neighbours: the three got none of what was written meanwhile (`active_views_settle_and_heal`, timed out waiting for the same heads). NEIGHBOUR says now whether its sender is one short, and a member with `k` takes such an ask as its `k + 1`th, the most it keeps; one with `k + 1` still refuses. Asks stay as rare as they were, and one is enough but where those asked have `k + 1`. Wire version 50.
* hyparview: a node left alone asks with high prioritytv10 days1-1/+37
| | | | | | A node with no neighbours and no high-priority ask outstanding asks with high priority, even of members that refused it before, so it never stays without neighbours (a transient seen in the simulations).
* HyParView flood defaulttv11 days1-1/+2
|
* HyParView (slim)tv11 days1-0/+457