block_height

Function block_height 

Source
pub unsafe fn block_height() -> u64
Expand description

Alias for block_index function. Returns the height of the current block.

ยงSafety

This function relies on the external implementation of block_index.