diff --git a/zebra-consensus/src/transaction.rs b/zebra-consensus/src/transaction.rs index 1ff6e16e73e..3f19389feaa 100644 --- a/zebra-consensus/src/transaction.rs +++ b/zebra-consensus/src/transaction.rs @@ -51,7 +51,7 @@ mod tests; /// to download, because a peer sent Zebra a bad list of block hashes. (The /// UTXO verification failure will restart the sync, and re-download the /// chain in the correct order.) -const UTXO_LOOKUP_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(3 * 60); +const UTXO_LOOKUP_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(6 * 60); /// Asynchronous transaction verification. /// diff --git a/zebrad/src/components/sync.rs b/zebrad/src/components/sync.rs index 85c47c9be26..400786af0df 100644 --- a/zebrad/src/components/sync.rs +++ b/zebrad/src/components/sync.rs @@ -141,7 +141,7 @@ pub(super) const BLOCK_DOWNLOAD_TIMEOUT: Duration = Duration::from_secs(15); /// /// If this timeout is set too low, the syncer will sometimes get stuck in a /// failure loop. -pub(super) const BLOCK_VERIFY_TIMEOUT: Duration = Duration::from_secs(180); +pub(super) const BLOCK_VERIFY_TIMEOUT: Duration = Duration::from_secs(6 * 60); /// Controls how long we wait to restart syncing after finishing a sync run. ///