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:
parent
03e9797b92
commit
5724d8beb6
4 changed files with 61 additions and 38 deletions
7
src/3rdparty/libethash/ethash_internal.h
vendored
7
src/3rdparty/libethash/ethash_internal.h
vendored
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue