diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index 5aeba564..0fae5106 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -171,6 +171,28 @@ The currently defined global types are as follows: | 2 | [[bip-0370.mediawiki|370]] |- +| Silent Payment Global ECDH Share +| PSBT_GLOBAL_SP_ECDH_SHARE = 0x07 +| <33 byte scan key> +| The scan key that this ECDH share is for. +| <33 byte share> +| An ECDH share for a scan key. The ECDH shared is computed with ''a * B_scan'', where ''a'' is the sum of all private keys of all eligible inputs, and ''B_scan'' is the scan key of a recipient. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- +| Silent Payment Global DLEQ Proof +| PSBT_GLOBAL_SP_DLEQ = 0x08 +| <33 byte scan key> +| The scan key that this proof covers. +| <64-byte proof> +| A BIP374 DLEQ proof computed for the matching ECDH share. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- | PSBT Version Number | PSBT_GLOBAL_VERSION = 0xFB | None @@ -529,6 +551,28 @@ derived from an aggregate key. | 0, 2 | [[bip-0373.mediawiki|373]] |- +| Silent Payment Input ECDH Share +| PSBT_IN_SP_ECDH_SHARE = 0x1d +| <33 byte scan key> +| The scan key that this ECDH share is for. +| <33 byte share> +| An ECDH share for a scan key. The ECDH shared is computed with ''a * B_scan'', where ''a'' is the private key of the corresponding prevout public key, and ''B_scan'' is the scan key of a recipient. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- +| Silent Payment Input DLEQ Proof +| PSBT_IN_SP_DLEQ = 0x1e +| <33 byte scan key> +| The scan key that this proof covers. +| <64-byte proof> +| A BIP374 DLEQ proof computed for the matching ECDH share. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- | Proprietary Use Type | PSBT_IN_PROPRIETARY = 0xFC | @@ -606,11 +650,11 @@ determine which outputs are change outputs and verify that the change is returni | None | No key data | -| The script for this output, also known as the scriptPubKey. Must be omitted in PSBTv0. Must be provided in PSBTv2. -| 2 +| The script for this output, also known as the scriptPubKey. Must be omitted in PSBTv0. Must be provided in PSBTv2 if not sending to a BIP352 silent payment address, otherwise may be omitted. +| | 0 | 2 -| [[bip-0370.mediawiki|370]] +| [[bip-0370.mediawiki|370]], [[bip-0375.mediawiki|375]] |- | Taproot Internal Key | PSBT_OUT_TAP_INTERNAL_KEY = 0x05 @@ -659,6 +703,28 @@ required for aggregation. If sorting was done, then the keys must be in the sort | 0, 2 | [[bip-0373.mediawiki|373]] |- +| Silent Payment Data +| PSBT_OUT_SP_V0_INFO = 0x09 +| None +| No key data +| <33 byte scan key> <33 byte spend key> +| The scan and spend public keys from the silent payments address. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- +| Silent Payment Label +| PSBT_OUT_SP_V0_LABEL = 0x10 +| None +| No key data +| <32-bit little endian uint label> +| The label to use to compute the spend key of the silent payments address to verify change. +| +| 0 +| 2 +| [[bip-0375.mediawiki|375]] +|- | BIP 353 DNSSEC proof | PSBT_OUT_DNSSEC_PROOF = 0x35 | None diff --git a/bip-0375.mediawiki b/bip-0375.mediawiki index f741ce87..d8565c77 100644 --- a/bip-0375.mediawiki +++ b/bip-0375.mediawiki @@ -104,7 +104,7 @@ The new per-input types are defined as follows: | 2 |} -One new per-output type is defined as follows: +The new per-output types are defined as follows: {| ! Name