|
@@ -70,13 +70,16 @@ struct ICARUS_INFO {
|
|
|
// time to calculate the golden_ob
|
|
// time to calculate the golden_ob
|
|
|
struct timeval golden_tv;
|
|
struct timeval golden_tv;
|
|
|
|
|
|
|
|
|
|
+ // History structures for calculating read_count
|
|
|
|
|
+ // when info->do_icarus_timing is true
|
|
|
struct ICARUS_HISTORY history[INFO_HISTORY+1];
|
|
struct ICARUS_HISTORY history[INFO_HISTORY+1];
|
|
|
uint32_t min_data_count;
|
|
uint32_t min_data_count;
|
|
|
|
|
|
|
|
- // seconds per Hash
|
|
|
|
|
- double Hs;
|
|
|
|
|
|
|
+ // Timeout scanning for a nonce (deciseconds)
|
|
|
int read_count;
|
|
int read_count;
|
|
|
|
|
+ // Timeout scanning for a golden nonce (deciseconds)
|
|
|
int probe_read_count;
|
|
int probe_read_count;
|
|
|
|
|
+
|
|
|
// ds limit for (short=/long=) read_count
|
|
// ds limit for (short=/long=) read_count
|
|
|
int read_count_limit;
|
|
int read_count_limit;
|
|
|
|
|
|
|
@@ -97,9 +100,16 @@ struct ICARUS_INFO {
|
|
|
|
|
|
|
|
// icarus-options
|
|
// icarus-options
|
|
|
int baud;
|
|
int baud;
|
|
|
|
|
+
|
|
|
|
|
+ // Used to calculate / display hash count when nonce is NOT found
|
|
|
|
|
+ // seconds per Hash
|
|
|
|
|
+ double Hs;
|
|
|
|
|
+
|
|
|
|
|
+ // Used to calculate / display hash count when a nonce is found
|
|
|
int work_division;
|
|
int work_division;
|
|
|
int fpga_count;
|
|
int fpga_count;
|
|
|
uint32_t nonce_mask;
|
|
uint32_t nonce_mask;
|
|
|
|
|
+
|
|
|
enum icarus_reopen_mode reopen_mode;
|
|
enum icarus_reopen_mode reopen_mode;
|
|
|
bool reopen_now;
|
|
bool reopen_now;
|
|
|
uint8_t user_set;
|
|
uint8_t user_set;
|
|
@@ -111,6 +121,7 @@ struct ICARUS_INFO {
|
|
|
// Bytes to read from Icarus for nonce
|
|
// Bytes to read from Icarus for nonce
|
|
|
int read_size;
|
|
int read_size;
|
|
|
|
|
|
|
|
|
|
+ // Settings used when probing / detecting
|
|
|
size_t ob_size;
|
|
size_t ob_size;
|
|
|
const char *golden_ob;
|
|
const char *golden_ob;
|
|
|
const char *golden_nonce;
|
|
const char *golden_nonce;
|