Unverified Commit e91b9d09 authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

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.
parent 547bc8a1
Pipeline #165140 passed with stages
in 46 minutes and 48 seconds
......@@ -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),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment