From 1857b11fb9cc87441446b48faa96e4c0fbd5af60 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 19 Jul 2022 04:22:02 +0000 Subject: [PATCH] comments --- web3-proxy/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3-proxy/src/connection.rs b/web3-proxy/src/connection.rs index 135e81aa..ee1578ca 100644 --- a/web3-proxy/src/connection.rs +++ b/web3-proxy/src/connection.rs @@ -216,7 +216,7 @@ impl Web3Connection { sleep(Duration::from_millis(100)).await; // we could take "archive" as a parameter, but we would want a safety check on it regardless - // just query something very old and if we get an error, we don't have archive data + // check common archive thresholds for block_data_limit in [u64::MAX, 90_000, 128, 64, 32] { let mut head_block_num = new_connection.head_block.read().1;