This commit is contained in:
Jay D Dee
2020-03-05 18:43:20 -05:00
parent 3da149418a
commit c0aadbcc99
9 changed files with 187 additions and 234 deletions

View File

@@ -323,6 +323,7 @@ int timeval_subtract( struct timeval *result, struct timeval *x,
// diff_to_hash = 2**32 = 0x100000000 = 4294967296 = exp32;
const double exp32; // 2**32
const double exp48; // 2**48
const double exp64; // 2**64
bool fulltest( const uint32_t *hash, const uint32_t *target );
@@ -345,6 +346,9 @@ struct thr_info {
//struct thr_info *thr_info;
void test_hash_and_submit( struct work *work, const void *hash,
struct thr_info *thr );
bool submit_solution( struct work *work, const void *hash,
struct thr_info *thr );