Networking and syncing tweaks (#2990)
* Reduce periodic snapshot delay * Prevent connecting to peers over the min_peers limit * Smaller block requests for slower connections
This commit is contained in:
committed by
Gav Wood
parent
d3a2f7dce9
commit
6931878ff1
@@ -29,7 +29,7 @@ use sync_io::SyncIo;
|
||||
use blocks::BlockCollection;
|
||||
|
||||
const MAX_HEADERS_TO_REQUEST: usize = 128;
|
||||
const MAX_BODIES_TO_REQUEST: usize = 128;
|
||||
const MAX_BODIES_TO_REQUEST: usize = 64;
|
||||
const MAX_RECEPITS_TO_REQUEST: usize = 128;
|
||||
const SUBCHAIN_SIZE: u64 = 256;
|
||||
const MAX_ROUND_PARENTS: usize = 32;
|
||||
|
||||
Reference in New Issue
Block a user