mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +00:00
Block packet size limit
This commit is contained in:
1 parent
74a989f353
commit
08e0747d2b
2 files changed
+9
-2
No files matched your search
@@ -54,7 +54,8 @@ mod blocks;
|
||||
mod extra_requests;
|
||||
|
||||
/// Maximum blocks to request in a single packet.
|
||||
const MAX_BLOCKS_TO_REQUEST: usize = 128;
|
||||
/// TODO: set to 128 once yamux issue is resolved.
|
||||
const MAX_BLOCKS_TO_REQUEST: usize = 64;
|
||||
|
||||
/// Maximum blocks to store in the import queue.
|
||||
const MAX_IMPORTING_BLOCKS: usize = 2048;
|
||||
|
||||
Reference in new issue
Block a user