zebrad::components::mempool::downloads

Constant TRANSACTION_DOWNLOAD_TIMEOUT

source
pub(crate) const TRANSACTION_DOWNLOAD_TIMEOUT: Duration;
Expand description

Controls how long we wait for a transaction download request to complete.

This is currently equal to BLOCK_DOWNLOAD_TIMEOUT for consistency, even though parts of the rationale used for defining the value don’t apply here (e.g. we can drop transactions hashes when the queue is full).