Skip to content

Commit 59ef564

Browse files
authored
Move gossipsub into a separate crate (#5401)
* move gossipsub into a separate crate * Merge branch 'unstable' of github.com:sigp/lighthouse into separate-gossipsub * address review 2 * clippy beta * update logging to log gossipsub logs
1 parent 8cec8a6 commit 59ef564

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+662
-375
lines changed

Cargo.lock

Lines changed: 41 additions & 316 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ members = [
99
"beacon_node/client",
1010
"beacon_node/eth1",
1111
"beacon_node/lighthouse_network",
12+
"beacon_node/lighthouse_network/gossipsub",
1213
"beacon_node/execution_layer",
1314
"beacon_node/http_api",
1415
"beacon_node/http_metrics",
@@ -200,6 +201,7 @@ execution_layer = { path = "beacon_node/execution_layer" }
200201
filesystem = { path = "common/filesystem" }
201202
fork_choice = { path = "consensus/fork_choice" }
202203
genesis = { path = "beacon_node/genesis" }
204+
gossipsub = { path = "beacon_node/lighthouse_network/gossipsub/" }
203205
http_api = { path = "beacon_node/http_api" }
204206
int_to_bytes = { path = "consensus/int_to_bytes" }
205207
kzg = { path = "crypto/kzg" }

beacon_node/lighthouse_network/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["Sigma Prime <[email protected]>"]
55
edition = { workspace = true }
66

77
[dependencies]
8-
async-channel = { workspace = true }
98
discv5 = { workspace = true }
9+
gossipsub = { workspace = true }
1010
unsigned-varint = { version = "0.6", features = ["codec"] }
1111
ssz_types = { workspace = true }
1212
types = { workspace = true }
@@ -50,16 +50,12 @@ either = { workspace = true }
5050

5151
# Local dependencies
5252
futures-ticker = "0.0.3"
53-
futures-timer = "3.0.2"
5453
getrandom = "0.2.11"
5554
hex_fmt = "0.3.0"
5655
instant = "0.1.12"
57-
quick-protobuf = "0.8"
5856
void = "1.0.2"
59-
asynchronous-codec = "0.7.0"
6057
base64 = "0.21.5"
6158
libp2p-mplex = "0.41"
62-
quick-protobuf-codec = "0.3"
6359

6460
[dependencies.libp2p]
6561
version = "0.53"
@@ -72,7 +68,7 @@ slog-async = { workspace = true }
7268
tempfile = { workspace = true }
7369
quickcheck = { workspace = true }
7470
quickcheck_macros = { workspace = true }
75-
async-std = { version = "1.6.3", features = ["unstable"] }
71+
async-channel = { workspace = true }
7672

7773
[features]
7874
libp2p-websocket = []

0 commit comments

Comments
 (0)