1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-13 11:09:16 +01:00

Remove out-of-utxo

This commit is contained in:
nicolas.dorier 2020-05-19 04:50:46 +09:00
parent 3836ef6534
commit dd9193fd1d
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -125,9 +125,6 @@ The well-known error codes are:
|unavailable
|The payjoin endpoint is not available for now.
|-
|out-of-utxos
|The receiver does not have any UTXO to contribute in a payjoin proposal.
|-
|not-enough-money
|The receiver added some inputs but could not bump the fee of the payjoin proposal.
|-
@ -158,7 +155,7 @@ The receiver needs to do some check on the original PSBT before proceeding:
* Non-interactive receivers (like a payment processor) need to check that the original PSBT is broadcastable. <code>*</code>
* If the sender included inputs in the original PSBT owned by the receiver, the receiver must either return error <code>invalid-transaction</code> or make sure they do not sign those inputs in the payjoin proposal.
* If the sender's inputs are all from the same scriptPubKey type, the receiver must match the same type. If the receiver can't match the type, they must return error <code>out-of-utxos</code>.
* If the sender's inputs are all from the same scriptPubKey type, the receiver must match the same type. If the receiver can't match the type, they must return error <code>unavailable</code>.
<code>*</code>: Interactive receivers are not required to validate the original PSBT because they are not exposed to probing attacks.