Post
Topic
Board Altcoin Discussion
Re: [PSA] Attention: Security vulnerability in new alt coins!
by
arjay45
on 18/05/2013, 00:07:25 UTC
Yes I figured out what you need to do to set the difficulty of the genesis block. It's in the nBits field of the genesis block. If you set the nBits field to bnProofOfWorkLimit.GetCompact() that should ensure that the genesis block and the blocks after it have the difficulty set by bnProofOfWorkLimit. I think anyway. I am not 100% sure.