mirror of
https://github.com/bitcoin/bips.git
synced 2026-04-13 16:18:40 +00:00
BIP376: Spending Silent Payment outputs with PSBTs (#2089)
This commit is contained in:
@@ -573,6 +573,28 @@ derived from an aggregate key.
|
||||
| 2
|
||||
| [[bip-0375.mediawiki|375]]
|
||||
|-
|
||||
| Silent Payment Spend Key BIP 32 Derivation Path
|
||||
| <tt>PSBT_IN_SP_SPEND_BIP32_DERIVATION = 0x1f</tt>
|
||||
| <tt><33-byte spend key></tt>
|
||||
| The 33-byte spend public key used to derive the key locking this input.
|
||||
| <tt><4-byte fingerprint> <32-bit little endian uint path element>*</tt>
|
||||
| The master key fingerprint as defined by BIP 32 concatenated with the derivation path of the spend public key. The derivation path is represented as indexed 32-bit unsigned integers concatenated with each other. Input Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
||||
|
|
||||
| 0
|
||||
| 2
|
||||
| [[bip-0376.mediawiki|376]]
|
||||
|-
|
||||
| Silent Payment Tweak
|
||||
| <tt>PSBT_IN_SP_TWEAK = 0x20</tt>
|
||||
| None
|
||||
| No key data
|
||||
| <tt><32-byte tweak></tt>
|
||||
| A 32-byte raw tweak. Input Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
||||
|
|
||||
| 0
|
||||
| 2
|
||||
| [[bip-0376.mediawiki|376]]
|
||||
|-
|
||||
| Proprietary Use Type
|
||||
| <tt>PSBT_IN_PROPRIETARY = 0xFC</tt>
|
||||
| <tt><compact size uint identifier length> <bytes identifier> <compact size uint subtype> <bytes subkeydata></tt>
|
||||
|
||||
Reference in New Issue
Block a user