KawPow: optimized CPU share verification

- 2 times faster CPU share verification (11 -> 5 ms)
- 1.5 times faster light cache initialization
This commit is contained in:
SChernykh 2020-06-26 12:31:26 +02:00
parent 03e9797b92
commit 5724d8beb6
4 changed files with 61 additions and 38 deletions

View file

@ -161,6 +161,13 @@ void ethash_calculate_dag_item_opt(
ethash_light_t const cache
);
void ethash_calculate_dag_item4_opt(
node* ret,
uint32_t node_index,
uint32_t num_parents,
ethash_light_t const cache
);
void ethash_quick_hash(
ethash_h256_t* return_hash,
ethash_h256_t const* header_hash,