Implements a timeout for peer banning (#665)

* Adds peer ban timeout of 30 seconds

* Remove delay queue from discovery
This commit is contained in:
Age Manning
2019-12-06 14:13:43 +11:00
committed by Paul Hauner
parent 5e8f958977
commit 5a765396b7
14 changed files with 92 additions and 50 deletions

View File

@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
web3 = "0.8.0"
tokio = "0.1.17"
tokio = "0.1.22"
futures = "0.1.25"
types = { path = "../../eth2/types"}
serde_json = "1.0"