Unverified Commit c61383a7 authored by asynchronous rob's avatar asynchronous rob Committed by GitHub
Browse files

Evict inactive peers from the collator protocol peer-set (#2680)

* malicious reputation cost is fatal

* make ReportBad a malicious cost

* futures control-flow for cleaning up inactive collator peers

* guide: network bridge updates

* add `PeerDisconnected` message

* guide: update

* reverse order

* remember to match

* implement disconnect peer in network bridge

* implement disconnect_inactive_peers

* test

* remove println

* don't hardcore policy

* add fuse outside of loop

* use default eviction policy
parent 12d44b14
Pipeline #130269 canceled with stages
in 14 minutes and 41 seconds