TxPoolArgs in reth_node_core::args - Rust

pub struct TxPoolArgs {
Show 30 fields pub pending_max_count: usize, pub pending_max_size: usize, pub basefee_max_count: usize, pub basefee_max_size: usize, pub queued_max_count: usize, pub queued_max_size: usize, pub blobpool_max_count: usize, pub blobpool_max_size: usize, pub blob_cache_size: Option<u32>, pub disable_blobs_support: bool, pub max_account_slots: usize, pub price_bump: u128, pub minimal_protocol_basefee: u64, pub minimum_priority_fee: Option<u128>, pub enforced_gas_limit: u64, pub max_tx_gas_limit: Option<u64>, pub blob_transaction_price_bump: u128, pub max_tx_input_bytes: usize, pub max_cached_entries: u32, pub no_locals: bool, pub locals: Vec<Address>, pub no_local_transactions_propagation: bool, pub additional_validation_tasks: usize, pub pending_tx_listener_buffer_size: usize, pub new_tx_listener_buffer_size: usize, pub max_new_pending_txs_notifications: usize, pub max_queued_lifetime: Duration, pub transactions_backup_path: Option<PathBuf>, pub disable_transactions_backup: bool, pub max_batch_size: usize,
}
Expand description

Parameters for debugging purposes

Max number of transaction in the pending sub-pool.

Max size of the pending sub-pool in megabytes.

Max number of transaction in the basefee sub-pool

Max size of the basefee sub-pool in megabytes.

Max number of transaction in the queued sub-pool

Max size of the queued sub-pool in megabytes.

Max number of transaction in the blobpool

Max size of the blobpool in megabytes.

Max number of entries for the in memory cache of the blob store.

Disable EIP-4844 blob transaction support

Max number of executable transaction slots guaranteed per account

Price bump (in %) for the transaction pool underpriced check.

Minimum base fee required by the protocol.

Minimum priority fee required for transaction acceptance into the pool. Transactions with priority fee below this value will be rejected.

The default enforced gas limit for transactions entering the pool

Maximum gas limit for individual transactions. Transactions exceeding this limit will be rejected by the transaction pool

Price bump percentage to replace an already existing blob transaction

Max size in bytes of a single transaction allowed to enter the pool

The maximum number of blobs to keep in the in memory blob cache.

Flag to disable local transaction exemptions.

Flag to allow certain addresses as local.

Flag to toggle local transaction propagation.

Number of additional transaction validation tasks to spawn.

Maximum number of pending transactions from the network to buffer

Maximum number of new transactions to buffer

How many new pending transactions to buffer and send to in progress pending transaction iterators.

Maximum amount of time non-executable transaction are queued.

Path to store the local transaction backup at, to survive node restarts.

Disables transaction backup to disk on node shutdown.

Max batch size for transaction pool insertions

Source§
Source

Sets the minimal protocol base fee to 0, effectively disabling checks that enforce that a transaction’s fee must be higher than the [MIN_PROTOCOL_BASE_FEE] which is the lowest value the ethereum EIP-1559 base fee can reach.

Source

Configures the minimal protocol base fee that should be enforced.

Ethereum’s EIP-1559 base fee can’t drop below [MIN_PROTOCOL_BASE_FEE] hence this is enforced by default in the pool.

Source§
Source§

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments

Source§

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more

Source§

Append to [Command] so it can instantiate self via [FromArgMatches::update_from_arg_matches_mut] Read more

Source§
Source§
Source§
Source§
Source§

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more

Source§

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more

Source§

Assign values from ArgMatches to self.

Source§

Assign values from ArgMatches to self.

Source§
Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§
Source§

Returns transaction pool configuration.

Source§

Returns max batch size for transaction batch insertion.

Source§
Source§

§
§
§
§
§
§
§

Source§
Source§
Source§
Source§
Source§

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)

Performs copy-assignment from self to dest. Read more

§
Source§

Source§

§
§

Compare self to key and return true if they are equal.

§
§

Checks if this value is equivalent to the given key. Read more

§
§

Checks if this value is equivalent to the given key. Read more

§
§

Checks if this value is equivalent to the given key. Read more

§
§

Causes self to use its Binary implementation when Debug-formatted.

§

Causes self to use its Display implementation when Debug-formatted.

§

Causes self to use its LowerExp implementation when Debug-formatted.

§

Causes self to use its LowerHex implementation when Debug-formatted.

§

Causes self to use its Octal implementation when Debug-formatted.

§

Causes self to use its Pointer implementation when Debug-formatted.

§

Causes self to use its UpperExp implementation when Debug-formatted.

§

Causes self to use its UpperHex implementation when Debug-formatted.

§

Formats each item in a sequence. Read more

Source§
Source§

Returns the argument unchanged.

§
§

Builds a [TxEnv] from a transaction and a sender address.

§
§

Builds a [TxEnv] from a transaction, its sender, and encoded transaction bytes.

§
§

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

§

Attaches the current Context to this type, returning a WithContext wrapper. Read more

§
§

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more

§

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Source§
Source§

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Source§

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Source§
Source§

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§
§
§

Wrap the input message T in a tonic::Request

§
§

Applies the layer to a service and wraps it in [Layered].

§
§

Pipes by value. This is generally the method you want to use. Read more

§

Borrows self and passes that borrow into the pipe function. Read more

§

Mutably borrows self and passes that borrow into the pipe function. Read more

§

Borrows self, then passes self.borrow() into the pipe function. Read more

§

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

§

Borrows self, then passes self.as_ref() into the pipe function.

§

Mutably borrows self, then passes self.as_mut() into the pipe function.

§

Borrows self, then passes self.deref() into the pipe function.

§

Mutably borrows self, then passes self.deref_mut() into the pipe function.

§
§

The alignment of pointer.

§

The type for initializers.

§

Initializes a with the given initializer. Read more

§

Dereferences the given pointer. Read more

§

Mutably dereferences the given pointer. Read more

§

Drops the object pointed to by the given pointer. Read more

§
§

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more

§

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more

Source§
§

Available on crate feature propagate-header only.

Propagate a header from the request to the response. Read more

§

Available on crate feature add-extension only.

§

Available on crate feature map-request-body only.

Apply a transformation to the request body. Read more

§

Available on crate feature map-response-body only.

Apply a transformation to the response body. Read more

§

Available on crate features compression-br or compression-deflate or compression-gzip or compression-zstd only.

Compresses response bodies. Read more

§

Available on crate features decompression-br or decompression-deflate or decompression-gzip or decompression-zstd only.

Decompress response bodies. Read more

§

Available on crate feature trace only.

High level tracing that classifies responses using HTTP status codes. Read more

§

Available on crate feature trace only.

High level tracing that classifies responses using gRPC headers. Read more

§

Available on crate feature follow-redirect only.

Available on crate feature sensitive-headers only.

Available on crate feature sensitive-headers only.

Available on crate feature sensitive-headers only.

Available on crate feature set-header only.

Insert a header into the request. Read more

Available on crate feature set-header only.

Append a header into the request. Read more

Available on crate feature set-header only.

Insert a header into the request, if the header is not already present. Read more

Available on crate feature set-header only.

Insert a header into the response. Read more

Available on crate feature set-header only.

Append a header into the response. Read more

Available on crate feature set-header only.

Insert a header into the response, if the header is not already present. Read more

§

Available on crate feature request-id only.

Add request id header and extension. Read more

§

Available on crate feature request-id only.

Add request id header and extension, using x-request-id as the header name. Read more

§

Available on crate feature request-id only.

Propgate request ids from requests to responses. Read more

§

Available on crate feature request-id only.

Propgate request ids from requests to responses, using x-request-id as the header name. Read more

§

Available on crate feature catch-panic only.

Catch panics and convert them into 500 Internal Server responses. Read more

§

Available on crate feature limit only.

Intercept requests with over-sized payloads and convert them into 413 Payload Too Large responses. Read more

§

Available on crate feature normalize-path only.

Remove trailing slashes from paths. Read more

§

Available on crate feature normalize-path only.

Append trailing slash to paths. Read more

§
§

Immutable access to a value. Read more

§
§

Immutable access to the Borrow<B> of a value. Read more

§

Mutable access to the BorrowMut<B> of a value. Read more

§

Immutable access to the AsRef<R> view of a value. Read more

§

Mutable access to the AsMut<R> view of a value. Read more

§

Immutable access to the Deref::Target of a value. Read more

§

Mutable access to the Deref::Target of a value. Read more

§

Calls .tap() only in debug builds, and is erased in release builds.

§

Calls .tap_mut() only in debug builds, and is erased in release builds.

§

Calls .tap_borrow() only in debug builds, and is erased in release builds.

§

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.

§

Calls .tap_ref() only in debug builds, and is erased in release builds.

§

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.

§

Calls .tap_deref() only in debug builds, and is erased in release builds.

§

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.

Source§
Source§

The resulting type after obtaining ownership.

Source§

Creates owned data from borrowed data, usually by cloning. Read more

Source§

Uses borrowed data to replace owned data, usually by cloning. Read more

§
§

Clones self, possibly returning an error.

§
§

Attempts to convert self into T using TryInto<T>. Read more

Source§
Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.

Source§
Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.

§

§

§
Source§
§
§
§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 304 bytes