Skip to content

Commit

Permalink
docs: clarify discovery nodes (#5260)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 1, 2023
1 parent 40e124b commit 23c4828
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/reth/src/args/network_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pub struct NetworkArgs {
#[command(flatten)]
pub discovery: DiscoveryArgs,

/// Target trusted peer enodes
/// Comma separated enode URLs of trusted peers for P2P connections.
///
/// --trusted-peers enode://abcd@192.168.0.1:30303
#[arg(long, value_delimiter = ',')]
pub trusted_peers: Vec<NodeRecord>,
Expand All @@ -27,7 +28,7 @@ pub struct NetworkArgs {
#[arg(long)]
pub trusted_only: bool,

/// Bootnodes to connect to initially.
/// Comma separated enode URLs for P2P discovery bootstrap.
///
/// Will fall back to a network-specific default if not specified.
#[arg(long, value_delimiter = ',')]
Expand Down

0 comments on commit 23c4828

Please sign in to comment.