Partially fixes #29285 (adds the option but leaves the default policy unchanged)
No tests so far, if there’s consensus to move forward with this I’ll look into adding them.
Disclaimer: I don’t care if this gets merged, personally I don’t see any benefit of having this option (or -permitbaremultisig
) and I would object to changing the default policy in this regard (similar to my objections to #28217). However, as I think someone would inevitably open a PR for this, I thought this might be a good opportunity to dip my toes into Bitcoin Core development.