mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
bip174: link to 'compact size' definition
This commit is contained in:
parent
3693cdfd19
commit
dc034af961
@ -65,7 +65,7 @@ be used as a separator and allow for easier unserializer implementation.</ref>.
|
|||||||
Where:
|
Where:
|
||||||
|
|
||||||
;<tt><keytype></tt>
|
;<tt><keytype></tt>
|
||||||
: A compact size unsigned integer representing the type. This compact size unsigned integer must be minimally encoded, i.e. if the value can be represented using one byte, it must be represented as one byte. There can be multiple entries with the same <tt><keytype></tt> within a specific <tt><map></tt>, but the <tt><key></tt> must be unique.
|
: A [https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer compact size] unsigned integer representing the type. This compact size unsigned integer must be minimally encoded, i.e. if the value can be represented using one byte, it must be represented as one byte. There can be multiple entries with the same <tt><keytype></tt> within a specific <tt><map></tt>, but the <tt><key></tt> must be unique.
|
||||||
;<tt><keylen></tt>
|
;<tt><keylen></tt>
|
||||||
: The compact size unsigned integer containing the combined length of <tt><keytype></tt> and <tt><keydata></tt>
|
: The compact size unsigned integer containing the combined length of <tt><keytype></tt> and <tt><keydata></tt>
|
||||||
;<tt><valuelen></tt>
|
;<tt><valuelen></tt>
|
||||||
@ -420,7 +420,7 @@ The currently defined per-input types are defined as follows:
|
|||||||
| Taproot Key Spend Signature
|
| Taproot Key Spend Signature
|
||||||
| <tt>PSBT_IN_TAP_KEY_SIG = 0x13</tt>
|
| <tt>PSBT_IN_TAP_KEY_SIG = 0x13</tt>
|
||||||
| None
|
| None
|
||||||
| No key data
|
| No key data
|
||||||
| <tt><signature></tt>
|
| <tt><signature></tt>
|
||||||
| The 64 or 65 byte Schnorr signature for key path spending a Taproot output. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
| The 64 or 65 byte Schnorr signature for key path spending a Taproot output. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
||||||
|
|
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user