Add local cluster tests that broadcast duplicate slots (#13995) (#17863)

* Add duplicate node local cluster test

* fix clippy

* remove dupe test

(cherry picked from commit 050bb5446d)

Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
mergify[bot]
2021-06-10 03:17:44 +00:00
committed by GitHub
parent 98e9b6e70b
commit 738df79394
6 changed files with 397 additions and 18 deletions

View File

@@ -127,7 +127,7 @@ impl BlockhashQueue {
.map(|(k, v)| recent_blockhashes::IterItem(v.hash_height, k, &v.fee_calculator))
}
pub fn len(&self) -> usize {
pub(crate) fn len(&self) -> usize {
self.max_age
}
}

View File

@@ -12,7 +12,7 @@ pub mod bank;
pub mod bank_client;
pub mod bank_forks;
pub mod bank_utils;
mod blockhash_queue;
pub mod blockhash_queue;
pub mod bloom;
pub mod builtins;
pub mod commitment;