Revert "Block packet size limit"

This reverts commit 08e0747d2b.
This commit is contained in:
arkpar
2020-06-18 10:43:03 +02:00
parent 08e0747d2b
commit 850ee8b43a
2 changed files with 2 additions and 9 deletions
@@ -54,8 +54,7 @@ mod blocks;
mod extra_requests;
/// Maximum blocks to request in a single packet.
/// TODO: set to 128 once yamux issue is resolved.
const MAX_BLOCKS_TO_REQUEST: usize = 64;
const MAX_BLOCKS_TO_REQUEST: usize = 128;
/// Maximum blocks to store in the import queue.
const MAX_IMPORTING_BLOCKS: usize = 2048;