I wrote a inpu.bin generator for equihash solver , but it cannot generate 2 solutions normally.
Correct me if anyone finds error in code or my understandings.
manyyyyy thx.
I wrote a inpu.bin generator for equihash solver , but it cannot generate 2 solutions normally.
Correct me if anyone finds error in code or my understandings.
manyyyyy thx.
I add little endian attris in this order
READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(hashPrevBlock);
READWRITE(hashMerkleRoot);
READWRITE(hashReserved);
READWRITE(nTime);
READWRITE(nBits);
READWRITE(nNonce);
into a char vector, but it’s apparently wrong in tromp’s equihash solver…
i cant’ get equihash-zcash-c to work - list on round 2 is always too short, it should be some bug somewhere.
so your block header is not relevant yet, albeit it has strange version 1 and not current 4 as in zcash/block.h at master · zcash/zcash · GitHub
U r right , version 1 is there by me purposely.
The author committed a fix https://github.com/aabc/equihash-zcash-c/commit/9e00e7fa00e03b1d6a205c9c409b65025f1523b7, which killed my bug.