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:
parent
3836ef6534
commit
dd9193fd1d
1 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue