guys, there is a Chinese cryptocurrency called huitongbi and someone asked if I can make a cuda miner for it.
I've looked at the wallet's source code and I find this.
void scrypt_hash(const void* input, size_t inputlen, uint32_t *res, unsigned char Nfactor)
{
Nfactor = 9;
return scrypt((const unsigned char*)input, inputlen,
(const unsigned char*)input, inputlen,
Nfactor, 5, 0, (unsigned char*)res, 32);
}
a bit later there is this
scrypt((const unsigned char*)&data, 80,
(const unsigned char*)&data, 80,
Nfactor, 8, 0, (unsigned char*)hash, 32);
hash_count += 1;
and yet the scrypt function only takes 4 arguments
static void scrypt(const void* input, size_t inputlen, uint32_t *res, void *scratchpad)
much confused...
code is here:
http://pan.baidu.com/wap/share/home?uk=2923272396&third=0Chinese web page is
http://huitongbi.com