From a41d9f81f16c84baaeea38d73d1ad911003a6a0b Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 9 Nov 2021 01:00:40 +0100 Subject: [PATCH] Increase maximum chunk size to adjust for small networks. (#4220) * Increase maximum chunk size to adjust for small networks. * Issue warning on invalid merkle proofs. * warn -> debug on invalid merkle proof. --- node/network/protocol/src/request_response/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/network/protocol/src/request_response/mod.rs b/node/network/protocol/src/request_response/mod.rs index 3d5e445e26ae..f8d414cd3528 100644 --- a/node/network/protocol/src/request_response/mod.rs +++ b/node/network/protocol/src/request_response/mod.rs @@ -133,7 +133,7 @@ impl Protocol { Protocol::ChunkFetching => RequestResponseConfig { name: p_name, max_request_size: 1_000, - max_response_size: POV_RESPONSE_SIZE as u64 / 10, + max_response_size: POV_RESPONSE_SIZE as u64 * 3, // We are connected to all validators: request_timeout: CHUNK_REQUEST_TIMEOUT, inbound_queue: Some(tx),