mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-24 19:45:51 +00:00
make BlockDownloader
pub
This commit is contained in:
parent
f0900f7594
commit
9f6a85e23f
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ impl Ord for ReadyQueueBatch {
|
||||||
/// - request the next chain entry
|
/// - request the next chain entry
|
||||||
/// - download an already requested batch of blocks (this might happen due to an error in the previous request
|
/// - download an already requested batch of blocks (this might happen due to an error in the previous request
|
||||||
/// or because the queue of ready blocks is too large, so we need the oldest block to clear it).
|
/// or because the queue of ready blocks is too large, so we need the oldest block to clear it).
|
||||||
struct BlockDownloader<N: NetworkZone, S, C> {
|
pub struct BlockDownloader<N: NetworkZone, S, C> {
|
||||||
/// The client pool.
|
/// The client pool.
|
||||||
client_pool: Arc<ClientPool<N>>,
|
client_pool: Arc<ClientPool<N>>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue