2020-06-19 06:30:07 +00:00
|
|
|
[package]
|
|
|
|
name = "boot_node"
|
2022-08-03 04:23:09 +00:00
|
|
|
version = "2.5.1"
|
2020-08-04 02:31:41 +00:00
|
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
2022-02-25 00:10:17 +00:00
|
|
|
edition = "2021"
|
2020-06-19 06:30:07 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-08-21 12:00:01 +00:00
|
|
|
beacon_node = { path = "../beacon_node" }
|
2020-10-05 08:22:19 +00:00
|
|
|
clap = "2.33.3"
|
2021-11-08 01:37:58 +00:00
|
|
|
clap_utils = { path = "../common/clap_utils" }
|
Rename eth2_libp2p to lighthouse_network (#2702)
## Description
The `eth2_libp2p` crate was originally named and designed to incorporate a simple libp2p integration into lighthouse. Since its origins the crates purpose has expanded dramatically. It now houses a lot more sophistication that is specific to lighthouse and no longer just a libp2p integration.
As of this writing it currently houses the following high-level lighthouse-specific logic:
- Lighthouse's implementation of the eth2 RPC protocol and specific encodings/decodings
- Integration and handling of ENRs with respect to libp2p and eth2
- Lighthouse's discovery logic, its integration with discv5 and logic about searching and handling peers.
- Lighthouse's peer manager - This is a large module handling various aspects of Lighthouse's network, such as peer scoring, handling pings and metadata, connection maintenance and recording, etc.
- Lighthouse's peer database - This is a collection of information stored for each individual peer which is specific to lighthouse. We store connection state, sync state, last seen ips and scores etc. The data stored for each peer is designed for various elements of the lighthouse code base such as syncing and the http api.
- Gossipsub scoring - This stores a collection of gossipsub 1.1 scoring mechanisms that are continuously analyssed and updated based on the ethereum 2 networks and how Lighthouse performs on these networks.
- Lighthouse specific types for managing gossipsub topics, sync status and ENR fields
- Lighthouse's network HTTP API metrics - A collection of metrics for lighthouse network monitoring
- Lighthouse's custom configuration of all networking protocols, RPC, gossipsub, discovery, identify and libp2p.
Therefore it makes sense to rename the crate to be more akin to its current purposes, simply that it manages the majority of Lighthouse's network stack. This PR renames this crate to `lighthouse_network`
Co-authored-by: Paul Hauner <paul@paulhauner.com>
2021-10-19 00:30:39 +00:00
|
|
|
lighthouse_network = { path = "../beacon_node/lighthouse_network" }
|
2020-12-08 05:41:10 +00:00
|
|
|
types = { path = "../consensus/types" }
|
2021-11-29 03:57:54 +00:00
|
|
|
eth2_ssz = "0.4.1"
|
2020-06-19 06:30:07 +00:00
|
|
|
slog = "2.5.2"
|
2021-11-18 05:08:42 +00:00
|
|
|
tokio = "1.14.0"
|
2020-10-05 08:22:19 +00:00
|
|
|
log = "0.4.11"
|
2020-06-19 06:30:07 +00:00
|
|
|
slog-term = "2.6.0"
|
|
|
|
logging = { path = "../common/logging" }
|
|
|
|
slog-async = "2.5.0"
|
|
|
|
slog-scope = "4.3.0"
|
|
|
|
slog-stdlog = "4.0.0"
|
2020-09-29 08:28:29 +00:00
|
|
|
hex = "0.4.2"
|
2021-11-08 01:37:58 +00:00
|
|
|
serde = "1.0.116"
|
|
|
|
serde_derive = "1.0.116"
|
|
|
|
serde_json = "1.0.66"
|
2022-03-01 22:56:47 +00:00
|
|
|
serde_yaml = "0.8.13"
|
2021-11-16 00:46:12 +00:00
|
|
|
eth2_network_config = { path = "../common/eth2_network_config" }
|