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.
This commit is contained in:
Robert Klotzner
2021-11-09 01:00:40 +01:00
committed by GitHub
parent edac78d03c
commit 6950ea66be
@@ -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),