Function ethash_sys::ethash_light_new [] [src]

pub unsafe extern "C" fn ethash_light_new(block_number: u64) -> ethash_light_t

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()