mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-08 23:08:19 -05:00
fix: update docs and arg comments (#19537)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -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>,
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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>),
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ pub enum ForkSpec {
|
||||
FrontierToHomesteadAt5,
|
||||
/// Homestead
|
||||
Homestead,
|
||||
/// Homestead to Tangerine
|
||||
/// Homestead to DAO
|
||||
HomesteadToDaoAt5,
|
||||
/// Homestead to Tangerine
|
||||
HomesteadToEIP150At5,
|
||||
|
||||
Reference in New Issue
Block a user