mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.21.3
This commit is contained in:
@@ -119,7 +119,7 @@ typedef struct
|
||||
// to be registered with the gate.
|
||||
int ( *scanhash ) ( struct work*, uint32_t, uint64_t*, struct thr_info* );
|
||||
|
||||
int ( *hash ) ( void*, const void*, int );
|
||||
int ( *hash ) ( void*, const void*, const int );
|
||||
|
||||
//optional, safe to use default in most cases
|
||||
|
||||
@@ -127,6 +127,9 @@ int ( *hash ) ( void*, const void*, int );
|
||||
// other initialization specific to miner threads.
|
||||
bool ( *miner_thread_init ) ( int );
|
||||
|
||||
// Perform prehash after receiving new work
|
||||
int ( *prehash ) ( struct work* );
|
||||
|
||||
// Get thread local copy of blockheader with unique nonce.
|
||||
void ( *get_new_work ) ( struct work*, struct work*, int, uint32_t* );
|
||||
|
||||
|
Reference in New Issue
Block a user