Skip to content

Commit

Permalink
Global Network Behaviour Refactor (sigp#2442)
Browse files Browse the repository at this point in the history
* Network upgrades (sigp#2345)

* Discovery patch (sigp#2382)

* Upgrade libp2p and unstable gossip

* Network protocol upgrades

* Correct dependencies, reduce incoming bucket limit

* Clean up dirty DHT entries before repopulating

* Update cargo lock

* Update lockfile

* Update ENR dep

* Update deps to specific versions

* Update test dependencies

* Update docker rust, and remote signer tests

* More remote signer test fixes

* Temp commit

* Update discovery

* Remove cached enrs after dialing

* Increase the session capacity, for improved efficiency

* Bleeding edge discovery (sigp#2435)

* Update discovery banning logic and tokio

* Update to latest discovery

* Shift to latest discovery

* Fmt

* Initial re-factor of the behaviour

* More progress

* Missed changes

* First draft

* Discovery as a behaviour

* Adding back event waker (not convinced its neccessary, but have made this many changes already)

* Corrections

* Speed up discovery

* Remove double log

* Fmt

* After disconnect inform swarm about ban

* More fmt

* Appease clippy

* Improve ban handling

* Update tests

* Update cargo.lock

* Correct tests

* Downgrade log
  • Loading branch information
AgeManning committed Jul 15, 2021
1 parent 6422632 commit 3c0d322
Show file tree
Hide file tree
Showing 18 changed files with 1,167 additions and 1,657 deletions.
425 changes: 152 additions & 273 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion beacon_node/eth2_libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ regex = "1.3.9"
strum = { version = "0.20", features = ["derive"] }

[dependencies.libp2p]
version = "0.38.0"
#version = "0.38.0"
# Bleeding edge, while we wait for 0.39.0
git = "https://github.com/libp2p/rust-libp2p"
rev = "c1ef4bffd225a78cefe8fa43dc8ee18e03ff4f93"
default-features = false
features = ["websocket", "identify", "mplex", "yamux", "noise", "gossipsub", "dns-tokio", "tcp-tokio"]

Expand Down
368 changes: 0 additions & 368 deletions beacon_node/eth2_libp2p/src/behaviour/handler/delegate.rs

This file was deleted.

Loading

0 comments on commit 3c0d322

Please sign in to comment.