What does the MiniWallet class currently do and need to do in the Bitcoin Core functional test framework?
At the moment, MiniWallet doesn't do any signing. It generates an address and sends an effective regtest coinbase to it. It then constructs an OP_TRUE transaction that spends to yourself with a fee.
I'm not sure at this stage if this is enough to replace the reliance on the Core wallet for all non-wallet functional tests but I will look into it more.
MiniWallet is not a wallet handled by the node, it is an &quot;external&quot; wallet coded in Python for testing. gettransaction only works for those wallets handled by the node, that's why the error says: non-wallet transaction id