mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(sdk): enable referencing network type via FullNodeComponents::Network (#9921)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user