ethash_light_new

Function ethash_light_new 

Source
pub unsafe extern "C" fn ethash_light_new(
    block_number: u64,
) -> ethash_light_t
Expand description

Allocate and initialize a new ethash_light handler

@param block_number The block number for which to create the handler @return Newly allocated ethash_light handler or NULL in case of ERRNOMEM or invalid parameters used for @ref ethash_compute_cache_nodes()