I've been working on a bitcoin miner that uses BIP-0034 (block v2).
I'm confused about the coinbase transaction of block v2. Does block v2 only accept P2PKH type of address to allow me to receive a reward for solving a block? Because the first block v2 uses P2PKH address on the coinbase tx.
So my question is can I use other types of address for coinbase transaction inside block v2 or I can only use the P2PKH address?