chore(sdk): enable referencing network type via FullNodeComponents::Network (#9921)

This commit is contained in:
Emilia Hane
2024-08-01 19:50:20 +02:00
committed by GitHub
parent 1a74d1407a
commit c71c813032
20 changed files with 66 additions and 53 deletions

View File

@ -8,6 +8,8 @@
//!
//! This launch a regular reth node with a custom rlpx subprotocol.
mod subprotocol;
use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
use reth::builder::NodeHandle;
@ -28,8 +30,6 @@ use subprotocol::{
use tokio::sync::{mpsc, oneshot};
use tracing::info;
mod subprotocol;
fn main() -> eyre::Result<()> {
reth::cli::Cli::parse_args().run(|builder, _args| async move {
// launch the node