This is a follow up to https://github.com/bitcoin/bips/pull/1244/ that
- separates concerns into individual commits
- corrects fee verification for a proposal having mixed script inputs while ensuring additional fee indeed paid for input
I know @kixunil is extremely busy to update these days, so I took the liberty to organize the changes we’ve discussed according to your wants here. @NicolasDorier I hope these changes satisfy your desire for them to be small and problem-focused while maintaining the spirit of the original.
Disallowing mixed inputs was based on incorrect assumption that no wallet supports mixed inputs and thus mixed inputs imply PayJoin. However there are at least three wallets supporting mixed inputs. (Confirmed: Bitcoin Core, LND, Coinomi) Thus it makes sense to enable mixed inputs to avoid a payjoin-specific fingerptint. To avoid compatibility issues a grace period is suggested.