Browse Source

Increase string storage space for enonce1/enonce1var to accommodate 8 byte nonce1length configuration

master
ckolivas 10 years ago
parent
commit
9c4e63691a
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -223,9 +223,9 @@ struct stratum_instance {
* instance_lock */ * instance_lock */
int ref; int ref;
char enonce1[32]; char enonce1[36]; /* Fit up to 16 byte binary enonce1 */
uchar enonce1bin[16]; uchar enonce1bin[16];
char enonce1var[12]; char enonce1var[20]; /* Fit up to 8 byte binary enonce1var */
uint64_t enonce1_64; uint64_t enonce1_64;
int session_id; int session_id;

Loading…
Cancel
Save