@ -200,6 +200,10 @@ bool ethash_full_compute(
ethash_h256_t const* header_hash,
uint64_t const nonce
);
/**
* Get a pointer to the full DAG data
*/
void *ethash_full_data(ethash_full_t full);
* Get a pointer to the cache object held by the full client
*
@ -467,6 +467,11 @@ bool ethash_full_compute(
}
void *ethash_full_data(ethash_full_t full)
{
return full->data;
ethash_cache_t* ethash_full_get_cache(ethash_full_t full)
return full->cache;