mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Iterate over the bitfury offsets in order of decreasing likelihood.
This commit is contained in:
parent
39c2e662a7
commit
e279bc1fc5
@ -178,7 +178,7 @@ static uint32_t decnonce(uint32_t in)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define BT_OFFSETS 3
|
#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)
|
static bool bitfury_checkresults(struct thr_info *thr, struct work *work, uint32_t nonce)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user