Document `next_height` method.
@@ -284,6 +284,8 @@ where
)
}
+ /// Returns the nexte height of the blockchain.
+ /// Its value is equal to "height of the latest committed block" + 1.
fn next_height(&self) -> Height {
Height(self.block_hashes_by_height().len())
}
