Skip to content
  • asynchronous rob's avatar
    Evict inactive peers from the collator protocol peer-set (#2680) · b8867d71
    asynchronous rob authored
    * 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
    b8867d71