How to generate a block in the new version of bitcoind.
bitcoin-cli -regtest generate 1
The above command no longer works with the latest bitcoind package
I want to confirm a transaction I have executed under the regtest mode for bitcoind, hence generating a block to confirm the tx.