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.
§
§
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.
§
§
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, if the header is not already present. 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, 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
§
§
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.
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