From e279bc1fc5ead5f7badbb7e5d0031d9244498ce1 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Sun, 29 Sep 2013 02:20:38 +1000 Subject: [PATCH] Iterate over the bitfury offsets in order of decreasing likelihood. --- driver-bitfury.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-bitfury.c b/driver-bitfury.c index 9708fe6d..6bb4e8c3 100644 --- a/driver-bitfury.c +++ b/driver-bitfury.c @@ -178,7 +178,7 @@ static uint32_t decnonce(uint32_t in) } #define BT_OFFSETS 3 -const uint32_t bf_offsets[] = {0, -0x400000, -0x800000}; +const uint32_t bf_offsets[] = {-0x800000, 0, -0x400000}; static bool bitfury_checkresults(struct thr_info *thr, struct work *work, uint32_t nonce) {