mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Syntaxic proofs for BIP-372
Signed-off-by: Dr. Maxim Orlovsky <orlovsky@pandoraprime.ch>
This commit is contained in:
parent
0337a6c64d
commit
ad46e586d1
@ -47,15 +47,15 @@ in client-side-validation protocols like RGB.
|
|||||||
===Motivation===
|
===Motivation===
|
||||||
|
|
||||||
P2C outputs can be detected onchain and spent only if the output owner
|
P2C outputs can be detected onchain and spent only if the output owner
|
||||||
not just knowns the corresponding original private key, but also is aware about
|
not just knows the corresponding original private key, but also is aware about
|
||||||
P2C tweak applied to the public key. In order to produce a valid signature, the
|
P2C tweak applied to the public key. In order to produce a valid signature, the
|
||||||
same tweak value must be added (modulo group order) to the original private key
|
same tweak value must be added (modulo group order) to the original private key
|
||||||
by a signer device. This represents a channelge for external signers, which may
|
by a signer device. This represents a challenge for external signers, which may
|
||||||
not have any information about such commitment. This proposal addresses this
|
not have any information about such commitment. This proposal addresses this
|
||||||
issue by adding relevant fields to the PSBT input information.
|
issue by adding relevant fields to the PSBT input information.
|
||||||
|
|
||||||
The proposal abstracts details of specific P2C protocols and provides universal
|
The proposal abstracts details of specific P2C protocols and provides universal
|
||||||
method for spending previous outpus containing P2C tweaks, applied to the public
|
method for spending previous outputs containing P2C tweaks, applied to the public
|
||||||
key contained within any standard form of the <tt>scriptPubkey</tt>, including
|
key contained within any standard form of the <tt>scriptPubkey</tt>, including
|
||||||
bare scripts and P2PK, P2PKH, P2SH, witness v0 P2WPKH, P2WSH, nested witness v0
|
bare scripts and P2PK, P2PKH, P2SH, witness v0 P2WPKH, P2WSH, nested witness v0
|
||||||
P2WPKH-P2SH, P2WSH-P2SH and witness v1 P2TR outputs.
|
P2WPKH-P2SH, P2WSH-P2SH and witness v1 P2TR outputs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user