// Get ancestor block by number. Returns `None` if there is no block
// by that number in the direct ancestry.
Get ancestor block by number. Returns `None` if there is no block
by that number in the direct ancestry.
Get ancestor block by number . Returns ` None ` if there is no block by that number in the direct ancestry .
fn ancestor_block(&self, number: N) -> Option<&H> {
		if number >= self.number {
			return None
		}
		let offset = self.number - number - N::one();
		self.ancestors.get(offset.as_())
	}
fn ancestor_block ( & self , number : N ) -> Option < & H > { if number >= self . number { return None } let offset = self . number - number - N :: one ( ) ; self . ancestors . get ( offset . as_ ( ) ) }
Get ancestor block by number.
Get ancestor block by number .
&self
number
N