Deprecate getCoinbaseTx() in favor of a new method that provides a struct with everything clients need to construct a coinbase. This is safer than providing a raw dummy coinbase that clients then have to manipulate.
Also deprecate getCoinbaseCommitment() and getWitnessCommitmentIndex().
A new helper method ExtractCoinbaseTemplate() processes the dummy coinbase transaction generated by BlockAssembler::CreateNewBlock and produces a CoinbaseTemplate.
Expand the interface_ipc.py functional test to document its usage.
Can be tested using: