pub unsafe extern "C" fn kernel_block_index_get_next(
context: *const kernel_Context,
chainstate_manager: *mut kernel_ChainstateManager,
block_index: *const kernel_BlockIndex,
) -> *mut kernel_BlockIndex
Expand description
@brief Return the next block index in the currently active chain, or null if the current block index is the tip, or is not in the currently active chain.
@param[in] context Non-null. @param[in] block_index Non-null. @param[in] chainstate_manager Non-null. @return The next block index in the currently active chain, or null if the block_index is the chain tip.