Post
Topic
Board Hardware
Re: GekkoScience 2Pac BM1384 Stickminer Official Support Thread
by
vh
on 10/02/2018, 14:42:57 UTC

vh, I was wondering if these 2pac checks against difficulty ? Datasheet says 4 bytes from byte position 36 to 39 set as ticket mask for difficulty.
But gekko driver code seems only setting ticket_mask at 39th byte position. What extactly is this ticket_mask?

I tried setting Network difficulty as below and seemed it work but later found its not always returning true nonce for every sample worked example I was using.
I think these chips keep iterating from 0 to max nonce and return every nonce which result in hash with first 4 bytes with 0. Is that true ?

...

Appreciate if you could help me here. Thanks !!!

For a valid ticket mask, think of network mask and CIDR notation.   
When visualizing a CIDR in bit form, a mask with 0's scattered between 1's is not valid.

Starting at 4GHs, every time the hash rate double(s) its worth tacking a bit onto the mask.
If the 2Pac ever push past 1TH(s), then I'll add a todo to check if the other bytes do what they are suppose to.

--

The chip iterates 2^32 nonces instead of 0 to max nonce. 
To experiment with SNO you probably need to pair it with HCN.