From 9f6a85e23f426640c5df4445e874b9e5b7eadcae Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Tue, 18 Jun 2024 00:56:41 +0100 Subject: [PATCH] make `BlockDownloader` pub --- p2p/cuprate-p2p/src/block_downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/cuprate-p2p/src/block_downloader.rs b/p2p/cuprate-p2p/src/block_downloader.rs index 011a4670..337d8e15 100644 --- a/p2p/cuprate-p2p/src/block_downloader.rs +++ b/p2p/cuprate-p2p/src/block_downloader.rs @@ -230,7 +230,7 @@ impl Ord for ReadyQueueBatch { /// - request the next chain entry /// - 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). -struct BlockDownloader { +pub struct BlockDownloader { /// The client pool. client_pool: Arc>,