From 6950ea66be10753a100b255baba0593e4f6749c9 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. --- polkadot/node/network/protocol/src/request_response/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/node/network/protocol/src/request_response/mod.rs b/polkadot/node/network/protocol/src/request_response/mod.rs index 3d5e445e26..f8d414cd35 100644 --- a/polkadot/node/network/protocol/src/request_response/mod.rs +++ b/polkadot/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),