How does zcash master version check the genesis equihash solution?

In version v0.11.2.z9, I noticed that in function CheckEquihashSolution, validation of equihash solution of genesis block is left out, but it’s validated in master version. So I want to know why this change is made, is it related to the fact cicular dependency between nSolution and block hash through nNonce is conquered ?
Or how to find a genesis nNonce that make condition block.hash <= hashTarget succeeded and nSolution satisfies requirements ?

This was simply a bug in v0.11.2.z9, fixed in v1.0.0beta1: Undo debugging change from 5be6abbf84c46e8fc4c8ef9be987a44de22d0d05 · zcash/zcash@488e61e · GitHub

There was never any problem with verifying the Equihash solution of the genesis block; some debugging code had been accidentally committed in Store the Equihash solution in minimal representation in the block he… · zcash/zcash@5be6abb · GitHub .

1 Like

Thanks for you reply, daira.
How did you generate genesis block ?
I tried and failed…Can you give me any link for genesis mining ? Thx again.