Skip to main content

btck_block_header_get_bits

Function btck_block_header_get_bits 

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

@brief Get the nBits difficulty target from btck_BlockHeader.

@param[in] header Non-null btck_BlockHeader @return Difficulty target (compact format)