I'm running a
bitcoind instance in
regtest mode, for automated testing purposes.
I'm having trouble with the fact that the blocks I mine are
version 1 blocks, which lack the block height in the coinbase transaction (my code relied on that).
How do block versions work in regtest mode? Can I configure them? Do I need to mine a specific number of blocks?