Skip to main content

btck_block_header_get_prev_hash

Function btck_block_header_get_prev_hash 

Source
pub unsafe extern "C" fn btck_block_header_get_prev_hash(
    header: *const btck_BlockHeader,
) -> *const btck_BlockHash
Expand description

@brief Get the previous btck_BlockHash from btck_BlockHeader. The returned hash is unowned and only valid for the lifetime of the btck_BlockHeader.

@param[in] header Non-null btck_BlockHeader @return Previous btck_BlockHash