1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-23 07:15:30 +01:00

Update bip-PSBT-SP.mediawiki

Co-authored-by: Yuval Kogman <nothingmuch@woobling.org>
This commit is contained in:
Andrew Toth 2024-12-09 14:22:47 -05:00
parent d02eed4337
commit eb115afa7f
No known key found for this signature in database
GPG key ID: 60007AFC8938B018

View file

@ -120,9 +120,9 @@ All rules must be followed from PSBTv2 for this role. If there are any outputs w
If any input is spending an output with script using Segwit version > 1, the Signer must fail.
For all outputs with PSBT_OUT_SP_V0_INFO set, the Signer should:
- Compute and set an ECDH share and DLEQ proof using all inputs it has the private key for.
- Verify the DLEQ proofs for all inputs it does not have the private keys for.
- If all eligible inputs have an ECDH share, compute and set the PSBT_OUT_SCRIPT.
* Compute and set an ECDH share and DLEQ proof using all inputs it has the private key for.
* Verify the DLEQ proofs for all inputs it does not have the private keys for.
* If all eligible inputs have an ECDH share, compute and set the PSBT_OUT_SCRIPT.
If the Signer sets any missing PSBT_OUT_SCRIPTs, it must set the Inputs Modifiable flag to False.