fn chain_candidates(&self, clock: &impl Clock) -> Vec<Candidate> {
        let mut branches = Vec::new();

        for tip in self.orphans.keys() {
            if let Some(branch) = self.fork(tip) {
                if self.validate_branch(&branch, clock).is_ok() {
                    branches.push(branch);
                }
            }
        }
        branches
    }
/// Find all the potential forks off the main chain.
Find all the potential forks off the main chain.
Find all the potential forks off the main chain .
fn chain_candidates(&self, clock: &impl Clock) -> Vec<Candidate> {
        let mut branches = Vec::new();
        for tip in self.orphans.keys() {
            if let Some(branch) = self.fork(tip) {
                if self.validate_branch(&branch, clock).is_ok() {
                    branches.push(branch);
                }
            }
        }
        branches
    }
fn chain_candidates ( & self , clock : & impl Clock ) -> Vec < Candidate > { let mut branches = Vec :: new ( ) ; for tip in self . orphans . keys ( ) { if let Some ( branch ) = self . fork ( tip ) { if self . validate_branch ( & branch , clock ) . is_ok ( ) { branches . push ( branch ) ; } } } branches }
Find all the potential forks off the main chain.
Find all the potential forks off the main chain .
&self
clock
&impl Clock