docs: add malleability note in psbt.md

This commit is contained in:
eugene 2021-04-22 11:28:18 -04:00
parent eda3d45b3d
commit 9e2cccdbbd
No known key found for this signature in database
GPG Key ID: 118759E83439A9B1

@ -8,6 +8,10 @@ See [BIP174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki) for
a full description of the PSBT format and the different _roles_ that a
participant in a PSBT can have.
To avoid possible malleability, all inputs to a funding transaction must be segwit
spends, meaning that P2PKH and normal P2SH cannot be used. An error will be
returned if any inputs are not segwit spends.
## Creating/funding a PSBT
The first step for every transaction that is constructed using a PSBT flow is to