Browse Source

There is no need for user instance id to be an int64

master
Con Kolivas 10 years ago
parent
commit
7961aa1a29
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -160,7 +160,7 @@ typedef struct stratum_instance stratum_instance_t;
struct user_instance { struct user_instance {
UT_hash_handle hh; UT_hash_handle hh;
char username[128]; char username[128];
int64_t id; int id;
char *secondaryuserid; char *secondaryuserid;
bool btcaddress; bool btcaddress;
@ -385,7 +385,7 @@ struct stratifier_data {
ckmsgq_t *sauthq; // Stratum authorisations ckmsgq_t *sauthq; // Stratum authorisations
ckmsgq_t *stxnq; // Transaction requests ckmsgq_t *stxnq; // Transaction requests
int64_t user_instance_id; int user_instance_id;
stratum_instance_t *stratum_instances; stratum_instance_t *stratum_instances;
stratum_instance_t *recycled_instances; stratum_instance_t *recycled_instances;

Loading…
Cancel
Save