When we rejoin a topic in a short duration, behavioural penalties can be triggered if we try to re-graft previously pruned peers. This is prevalent especially if we rejoin a topic before the prune backoff period ends.
[x] When joining a topic, we make sure we do not graft peers who have a backoff assigned to them. This brings the method in line with the behaviour and peer filter that is applied in our heartbeat method.
[x] Adds in a regression test for this particular case.
This is a follow up from #473.
When we rejoin a topic in a short duration, behavioural penalties can be triggered if we try to re-graft previously pruned peers. This is prevalent especially if we rejoin a topic before the prune backoff period ends.
heartbeat
method.cc @vyzo