Post
Topic
Board Altcoin Discussion
Re: *** Complete Guide on How to Create a New Alt Coin – Update 2018 ***
by
digitalcitizen
on 01/05/2019, 16:07:05 UTC
Does anyone know how to hack in BIP34 from block 1 after genesis?

It seems like this almost never works, and is something of a hack.  It fails out with -reindex and -txindex saying bad-cb-height, which is the block height in the coinbase tx.  So to set the BIP34 height and hash, how is that worked in unless you can specify you want BIP34's block height with a CPU miner?  That must be the only way to do it, then go back and validate everything.

Otherwise, maybe the only way to work around it is to skip the genesis block and start from block 1 with that block hash.  Assuming the block heights are in the coinbase tx.

Anyone figured out how to enable BIP34 from the start, aside from genesis?  Like block 1, or doesn't that make sense at all?  Am I missing something?

Thanks!