mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
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:
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,
|
||||
|
||||
Reference in New Issue
Block a user