fix: update docs and arg comments (#19537)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Vitalyr
2025-11-07 00:31:09 +00:00
committed by GitHub
parent f69c544da6
commit 4d258cb98d
7 changed files with 13 additions and 13 deletions

View File

@@ -100,11 +100,11 @@ pub struct NetworkArgs {
#[arg(long = "port", value_name = "PORT", default_value_t = DEFAULT_DISCOVERY_PORT)]
pub port: u16,
/// Maximum number of outbound requests. default: 100
/// Maximum number of outbound peers. default: 100
#[arg(long)]
pub max_outbound_peers: Option<usize>,
/// Maximum number of inbound requests. default: 30
/// Maximum number of inbound peers. default: 30
#[arg(long)]
pub max_inbound_peers: Option<usize>,

View File

@@ -179,10 +179,10 @@ Networking:
[default: 30303]
--max-outbound-peers <MAX_OUTBOUND_PEERS>
Maximum number of outbound requests. default: 100
Maximum number of outbound peers. default: 100
--max-inbound-peers <MAX_INBOUND_PEERS>
Maximum number of inbound requests. default: 30
Maximum number of inbound peers. default: 30
--max-tx-reqs <COUNT>
Max concurrent `GetPooledTransactions` requests.

View File

@@ -125,10 +125,10 @@ Networking:
[default: 30303]
--max-outbound-peers <MAX_OUTBOUND_PEERS>
Maximum number of outbound requests. default: 100
Maximum number of outbound peers. default: 100
--max-inbound-peers <MAX_INBOUND_PEERS>
Maximum number of inbound requests. default: 30
Maximum number of inbound peers. default: 30
--max-tx-reqs <COUNT>
Max concurrent `GetPooledTransactions` requests.

View File

@@ -125,10 +125,10 @@ Networking:
[default: 30303]
--max-outbound-peers <MAX_OUTBOUND_PEERS>
Maximum number of outbound requests. default: 100
Maximum number of outbound peers. default: 100
--max-inbound-peers <MAX_INBOUND_PEERS>
Maximum number of inbound requests. default: 30
Maximum number of inbound peers. default: 30
--max-tx-reqs <COUNT>
Max concurrent `GetPooledTransactions` requests.

View File

@@ -229,10 +229,10 @@ Networking:
[default: 30303]
--max-outbound-peers <MAX_OUTBOUND_PEERS>
Maximum number of outbound requests. default: 100
Maximum number of outbound peers. default: 100
--max-inbound-peers <MAX_INBOUND_PEERS>
Maximum number of inbound requests. default: 30
Maximum number of inbound peers. default: 30
--max-tx-reqs <COUNT>
Max concurrent `GetPooledTransactions` requests.

View File

@@ -67,7 +67,7 @@ pub enum CustomTransaction {
/// A regular Optimism transaction as defined by [`OpTxEnvelope`].
#[envelope(flatten)]
Op(OpTxEnvelope),
/// A [`TxPayment`] tagged with type 0x7E.
/// A [`TxPayment`] tagged with type 0x2A (decimal 42).
#[envelope(ty = 42)]
Payment(Signed<TxPayment>),
}
@@ -178,7 +178,7 @@ pub enum CustomPooledTransaction {
/// A regular Optimism transaction as defined by [`OpPooledTransaction`].
#[envelope(flatten)]
Op(OpPooledTransaction),
/// A [`TxPayment`] tagged with type 0x7E.
/// A [`TxPayment`] tagged with type 0x2A (decimal 42).
#[envelope(ty = 42)]
Payment(Signed<TxPayment>),
}

View File

@@ -265,7 +265,7 @@ pub enum ForkSpec {
FrontierToHomesteadAt5,
/// Homestead
Homestead,
/// Homestead to Tangerine
/// Homestead to DAO
HomesteadToDaoAt5,
/// Homestead to Tangerine
HomesteadToEIP150At5,