This PR enables one more of the non-wallet functional tests (mempool_accept.py) to be run even with the Bitcoin Core wallet disabled by using the MiniWallet instead, as proposed in #20078.
It also includes some other minor changes that came up while working on the replacement:
- [commit 1/4] replace magic number 0xffffffff for a tx’s nSequence with a new constant
SEQUENCE_FINAL
- [commit 2/4] create
CTransaction
instances with the current nVersion=2 by default, in order to use BIP68 for tests - [commit 3/4] support default
from_node
parameter for creating txs (this is a stripped down version of PR #24025)