This PR adds support for creating and spending transactions with raw pubkey (P2PK) outputs to MiniWallet, as suggested by MarcoFalke. Using that mode in the test feature_csv_activation.py
, all txs submitted to the mempool follow the standard policy, i.e. -acceptnonstdtxn=1
can be removed.
Possible follow-ups:
- Improve MiniWallet constructor Interface; an enum-like parameter instead of two booleans would probably be better
- Look at other tests that could benefit from P2PK (e.g. feature_cltv.py?)
- Check vsize also for P2PK txs (vsize varies due to signature, i.e. a range has to be asserted)