Remove bound that WINDOW_LENGTH < CONFIRMATIONS

It's unnecessary and not valuable.
This commit is contained in:
Luke Parker
2024-09-10 06:40:41 -04:00
parent 2d4b775b6e
commit e36b671f37
3 changed files with 5 additions and 6 deletions

View File

@@ -71,8 +71,8 @@ pub trait ScannerFeed: 'static + Send + Sync + Clone {
/// The amount of blocks to process in parallel.
///
/// This must be at least `1`. This must be less than or equal to `CONFIRMATIONS`. This value
/// should be the worst-case latency to handle a block divided by the expected block time.
/// This must be at least `1`. This value should be the worst-case latency to handle a block
/// divided by the expected block time.
const WINDOW_LENGTH: u64;
/// The amount of blocks which will occur in 10 minutes (approximate).