mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 04:31:51 +00:00
* Add interop chain spec and rename chain_id * Add ability to connect to raw libp2p nodes * Adds Identify protocol, clean up RPC protocol name handling * Update to latest libp2p, gossipsub improvements * Updates to latest interop branch. - Shifts decoding of objects into message handler. - Updates to latest interop gossipsub. - Adds interop spec constant. * Configuration updates allow for verbosity CLI flag and spec constants * Update submodules to master * Correct minimal chainspec modifications * Duplication of validator polls are no longer fatal * Apply PR suggestions
26 lines
728 B
Rust
26 lines
728 B
Rust
/// This crate contains the main link for lighthouse to rust-libp2p. It therefore re-exports
|
|
/// all required libp2p functionality.
|
|
///
|
|
/// This crate builds and manages the libp2p services required by the beacon node.
|
|
pub mod behaviour;
|
|
mod config;
|
|
mod discovery;
|
|
pub mod error;
|
|
pub mod rpc;
|
|
mod service;
|
|
|
|
pub use behaviour::PubsubMessage;
|
|
pub use config::{
|
|
Config as NetworkConfig, BEACON_ATTESTATION_TOPIC, BEACON_BLOCK_TOPIC, SHARD_TOPIC_PREFIX,
|
|
};
|
|
pub use libp2p::gossipsub::{Topic, TopicHash};
|
|
pub use libp2p::multiaddr;
|
|
pub use libp2p::Multiaddr;
|
|
pub use libp2p::{
|
|
gossipsub::{GossipsubConfig, GossipsubConfigBuilder},
|
|
PeerId,
|
|
};
|
|
pub use rpc::RPCEvent;
|
|
pub use service::Libp2pEvent;
|
|
pub use service::Service;
|