mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Update PSBT invariants
This commit is contained in:
parent
287e3c2346
commit
801cc71114
@ -109,14 +109,15 @@ The original PSBT MAY:
|
|||||||
|
|
||||||
The payjoin proposal MUST:
|
The payjoin proposal MUST:
|
||||||
* Use all the inputs from the original PSBT.
|
* Use all the inputs from the original PSBT.
|
||||||
* Only finalize the inputs added by the receiver.
|
* Use all the outputs which do not belongs to the receiver from the original PSBT.
|
||||||
* Have all the <code>witnessUTXO</code> or <code>nonWitnessUTXO</code> information filled in.
|
* Only finalize the inputs added by the receiver. (Referred later as <code>additional inputs</code>)
|
||||||
* Keep all the outputs unrelated to the payment.
|
* Only fill the <code>witnessUTXO</code> or <code>nonWitnessUTXO</code> for the additional inputs.
|
||||||
|
|
||||||
The payjoin proposal MAY:
|
The payjoin proposal MAY:
|
||||||
* Add inputs.
|
* Add, remove or modify the outputs belonging to the receiver.
|
||||||
* Add outputs.
|
|
||||||
* Modify payment's output.
|
The payjoin proposal MUST NOT:
|
||||||
|
* Shuffle the order of inputs or outputs, the additional outputs or additional inputs must be inserted at a random index.
|
||||||
|
|
||||||
===Receiver's well known errors===
|
===Receiver's well known errors===
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user