Commit f080db5fee9ccf2fd99247b5c498e9b0b2cc793d

Kano 2013-04-02T09:50:05

generic work structure flags for BFLSC (and usable by other drivers if needed)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/miner.h b/miner.h
index b41e313..04c8a46 100644
--- a/miner.h
+++ b/miner.h
@@ -1144,6 +1144,11 @@ struct work {
 
 	double		work_difficulty;
 
+	// Allow devices to identify work if multiple sub-devices
+	int		subid;
+	// Allow devices to flag work for their own purposes
+	bool		devflag;
+
 	struct timeval	tv_getwork;
 	struct timeval	tv_getwork_reply;
 	struct timeval	tv_cloned;