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:
parent
eb115afa7f
commit
8e90f02dc5
@ -54,7 +54,7 @@ The new global types are defined as follows:
|
|||||||
| <tt>PSBT_GLOBAL_SP_ECDH_SHARE = 0x07</tt>
|
| <tt>PSBT_GLOBAL_SP_ECDH_SHARE = 0x07</tt>
|
||||||
| <tt><33 byte scan key> <36 byte outpoint>*</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.
|
| 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.
|
| 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
|
| 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user