From 0acce4c82924f746b7c5ce393a62f5c624b59210 Mon Sep 17 00:00:00 2001 From: sashass1315 Date: Wed, 17 Sep 2025 16:38:55 +0300 Subject: [PATCH 1/2] Correct cache validity comment in Includer --- timeboost-sequencer/src/include.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeboost-sequencer/src/include.rs b/timeboost-sequencer/src/include.rs index fa271258..8f1d0802 100644 --- a/timeboost-sequencer/src/include.rs +++ b/timeboost-sequencer/src/include.rs @@ -227,7 +227,7 @@ impl Includer { .0) } - /// Check if the cache is valid, i.e. ends with at least 8 consecutive rounds. + /// Check if the cache is valid, i.e. contains at least 8 recent rounds (not necessarily consecutive). fn is_valid_cache(&self) -> bool { self.cache.len() >= CACHE_SIZE } From cbffd8f2f5f32fea2cd8a5aa240abe8e42005d15 Mon Sep 17 00:00:00 2001 From: Toralf Wittner Date: Mon, 22 Sep 2025 17:58:46 +0200 Subject: [PATCH 2/2] Update timeboost-sequencer/src/include.rs --- timeboost-sequencer/src/include.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timeboost-sequencer/src/include.rs b/timeboost-sequencer/src/include.rs index 8f1d0802..69fb442d 100644 --- a/timeboost-sequencer/src/include.rs +++ b/timeboost-sequencer/src/include.rs @@ -227,7 +227,8 @@ impl Includer { .0) } - /// Check if the cache is valid, i.e. contains at least 8 recent rounds (not necessarily consecutive). + /// Check if the cache is valid, i.e. contains at least 8 recent rounds (not necessarily + /// consecutive). fn is_valid_cache(&self) -> bool { self.cache.len() >= CACHE_SIZE }