eth/downloader: reduce hash fetches in prep for eth/61
This commit is contained in:
		| @@ -26,7 +26,7 @@ const ( | |||||||
|  |  | ||||||
| var ( | var ( | ||||||
| 	MinHashFetch  = 512 // Minimum amount of hashes to not consider a peer stalling | 	MinHashFetch  = 512 // Minimum amount of hashes to not consider a peer stalling | ||||||
| 	MaxHashFetch  = 2048 // Amount of hashes to be fetched per retrieval request | 	MaxHashFetch  = 512 // Amount of hashes to be fetched per retrieval request | ||||||
| 	MaxBlockFetch = 128 // Amount of blocks to be fetched per retrieval request | 	MaxBlockFetch = 128 // Amount of blocks to be fetched per retrieval request | ||||||
|  |  | ||||||
| 	hashTTL         = 5 * time.Second  // Time it takes for a hash request to time out | 	hashTTL         = 5 * time.Second  // Time it takes for a hash request to time out | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user