pub fn chain_iterator(&self, block: Block) -> Box<dyn Iterator<Item = Block> + 'a> {
        Box::new(ChainIterator::new(
            self.pool,
            block,
            Some(self.get_highest_catch_up_package().content.block),
        ))
    }
/// Find ancestor blocks of `block`, and return an iterator that starts
/// from `block` and ends when a parent is not found (e.g. genesis).
Find ancestor blocks of `block`, and return an iterator that starts
from `block` and ends when a parent is not found .
Find ancestor blocks of ` block ` and return an iterator that starts from ` block ` and ends when a parent is not found .
pub fn chain_iterator(&self, block: Block) -> Box<dyn Iterator<Item = Block> + 'a> {
        Box::new(ChainIterator::new(
            self.pool,
            block,
            Some(self.get_highest_catch_up_package().content.block),
        ))
    }
pub fn chain_iterator ( & self , block : Block ) -> Box < dyn Iterator < Item = Block > + ' a > { Box :: new ( ChainIterator :: new ( self . pool , block , Some ( self . get_highest_catch_up_package ( ) . content . block ) , ) ) }
Find ancestor blocks of `block`, and return an iterator that starts
from `block` and ends when a parent is not found (e.g.
Find ancestor blocks of ` block ` and return an iterator that starts from ` block ` and ends when a parent is not found ( e . g .
&self
block
Block
&self
block
Block