pub(crate) fn new() -> Self {
        VoteCollector {
            votes: LruCache::new(CACHE_N as usize),
            prevote_count: HashMap::new(),
            precommit_count: HashMap::new(),
        }
    }
/// A function to create a new BFT vote collector.
A function to create a new BFT vote collector.
A function to create a new BFT vote collector .
pub(crate) fn new() -> Self {
        VoteCollector {
            votes: LruCache::new(CACHE_N as usize),
            prevote_count: HashMap::new(),
            precommit_count: HashMap::new(),
        }
    }
pub ( crate ) fn new ( ) -> Self { VoteCollector { votes : LruCache :: new ( CACHE_N as usize ) , prevote_count : HashMap :: new ( ) , precommit_count : HashMap :: new ( ) , } }
A function to create a new BFT vote collector.
A function to create a new BFT vote collector .