Chrysostomos Nanakos ad4d3b5d62
feat(node): implement sliding window for block prefetching
Now fetchBatched maintains a sliding window of batchSize blocks in-flight.
When 75% complete, adds next chunk to maintain constant window size.
This ensures blocks are already pending or have been fetched when
StoreStream needs them.

Part of https://github.com/codex-storage/nim-codex/issues/974

Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
2025-11-03 14:10:55 +02:00
..
2025-11-03 14:10:39 +02:00
2025-01-21 20:54:46 +00:00
2023-12-22 13:04:01 +01:00
2024-01-11 08:45:23 -08:00
2025-01-21 20:54:46 +00:00
2025-02-24 21:01:23 +00:00
2024-02-09 21:40:30 +00:00
2025-01-21 20:54:46 +00:00
2022-06-14 09:19:35 -06:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-05-21 21:17:04 +00:00