1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

Update size of ECDH share and unify spacing

This commit is contained in:
Andrew Toth 2024-12-10 19:19:24 -05:00
parent eb115afa7f
commit 8e90f02dc5
No known key found for this signature in database
GPG Key ID: 60007AFC8938B018

View File

@ -54,7 +54,7 @@ The new global types are defined as follows:
| <tt>PSBT_GLOBAL_SP_ECDH_SHARE = 0x07</tt>
| <tt><33 byte scan key> <36 byte outpoint>*</tt>
| The scan key and a list of outpoints corresponding to the prevouts of the inputs that this ECDH share is for. The outpoints are composed of a 32 byte txid followed by a 32-bit little endian uint.
| <tt><32 byte share></tt>
| <tt><33 byte share></tt>
| An ECDH share for a scan key, followed by a list of outpoints. The ECDH shared is computed with ''a * B_scan'', where ''a'' is the sum of all private keys of the inputs matching the list of outpoints, and ''B_scan'' is the scan key of a recipient.
|
| 0