pub struct DebugArgs {Show 14 fields
pub terminate: bool,
pub tip: Option<B256>,
pub max_block: Option<u64>,
pub etherscan: Option<Option<String>>,
pub rpc_consensus_url: Option<String>,
pub skip_fcu: Option<usize>,
pub skip_new_payload: Option<usize>,
pub reorg_frequency: Option<usize>,
pub reorg_depth: Option<usize>,
pub engine_api_store: Option<PathBuf>,
pub invalid_block_hook: Option<InvalidBlockSelection>,
pub healthy_node_rpc_url: Option<String>,
pub ethstats: Option<String>,
pub startup_sync_state_idle: bool,
}Expand description
Parameters for debugging purposes
Flag indicating whether the node should be terminated after the pipeline sync.
Set the chain tip manually for testing purposes.
NOTE: This is a temporary flag
Runs the sync only up to the specified block.
Runs a fake consensus client that advances the chain using recent block hashes
on Etherscan. If specified, requires an ETHERSCAN_API_KEY environment variable.
Runs a fake consensus client using blocks fetched from an RPC endpoint.
Supports both HTTP and WebSocket endpoints - WebSocket endpoints will use
subscriptions, while HTTP endpoints will poll for new blocks.
If provided, the engine will skip n consecutive FCUs.
If provided, the engine will skip n consecutive new payloads.
If provided, the chain will be reorged at specified frequency.
The reorg depth for chain reorgs.
The path to store engine API messages at. If specified, all of the intercepted engine API messages will be written to specified location.
Determines which type of invalid block hook to install
Example: witness,prestate
The RPC URL of a healthy node to use for comparing invalid block hook results against.
Debug setting that enables execution witness comparison for troubleshooting bad blocks. When enabled, the node will collect execution witnesses from the specified source and compare them against local execution when a bad block is encountered, helping identify discrepancies in state execution.
The URL of the ethstats server to connect to.
Example: nodename:secret@host:port
Set the node to idle state when the backfill is not running.
This makes the eth_syncing RPC return “Idle” when the node has just started or finished
the backfill, but did not yet receive any new blocks.
§
§
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: 288 bytes