mirror of
https://github.com/bitcoin/bips.git
synced 2026-04-20 16:28:39 +00:00
BIP-375: clarify eligible input restriction in Signer text
This commit is contained in:
@@ -177,7 +177,7 @@ 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.
|
If any input is spending an output with script using Segwit version > 1, the Signer must fail.
|
||||||
|
|
||||||
For each output with PSBT_OUT_SP_V0_INFO set, the Signer should:
|
For each output with PSBT_OUT_SP_V0_INFO set, the Signer should:
|
||||||
* Compute and set an ECDH share and DLEQ proof for each input it has the private key for, or set a global ECDH share and DLEQ proof if it has private keys for all eligible inputs.
|
* Compute and set an ECDH share and DLEQ proof for each eligible input it has the private key for, or set a global ECDH share and DLEQ proof if it has private keys for all eligible inputs.
|
||||||
* Verify the DLEQ proofs for all inputs it does not have the private keys for, or the global DLEQ proof if it is set.
|
* Verify the DLEQ proofs for all inputs it does not have the private keys for, or the global DLEQ proof if it is set.
|
||||||
* If all eligible inputs have an ECDH share or the global ECDH share is set, compute and set the PSBT_OUT_SCRIPT.
|
* If all eligible inputs have an ECDH share or the global ECDH share is set, compute and set the PSBT_OUT_SCRIPT.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user