mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-17 21:32:50 +01:00
Explicitly specify PSBTv0
This commit is contained in:
parent
50fdf5435e
commit
c0991047e2
@ -850,7 +850,7 @@ Those proposing changes should consider that ultimately consent may rest with th
|
||||
|- style="background-color: #ffffcf"
|
||||
| [[bip-0174.mediawiki|174]]
|
||||
| Applications
|
||||
| Partially Signed Bitcoin Transaction Format
|
||||
| Partially Signed Bitcoin Transaction Format and Version 0
|
||||
| Andrew Chow
|
||||
| Standard
|
||||
| Proposed
|
||||
|
@ -1,7 +1,7 @@
|
||||
<pre>
|
||||
BIP: 174
|
||||
Layer: Applications
|
||||
Title: Partially Signed Bitcoin Transaction Format
|
||||
Title: Partially Signed Bitcoin Transaction Format and Version 0
|
||||
Author: Andrew Chow <achow101@gmail.com>
|
||||
Comments-Summary: No comments yet.
|
||||
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0174
|
||||
@ -21,6 +21,9 @@ signatures for an input while the input does not have a complete set of signatur
|
||||
The signer can be offline as all necessary information will be provided in the
|
||||
transaction.
|
||||
|
||||
The generic format is described here in addition to the specification for version 0
|
||||
of this format.
|
||||
|
||||
===Copyright===
|
||||
|
||||
This BIP is licensed under the 2-clause BSD license.
|
||||
@ -94,7 +97,7 @@ The currently defined global types are as follows:
|
||||
| None
|
||||
| No key data
|
||||
| <tt><transaction></tt>
|
||||
| The transaction in network serialization. The scriptSigs and witnesses for each input must be empty. The transaction must be in the old serialization format (without witnesses). A PSBT must have a transaction, otherwise it is invalid.
|
||||
| The transaction in network serialization. The scriptSigs and witnesses for each input must be empty. The transaction must be in the old serialization format (without witnesses).
|
||||
|-
|
||||
| Extended Public Key
|
||||
| <tt>PSBT_GLOBAL_XPUB = 0x01</tt>
|
||||
@ -311,6 +314,12 @@ It is useful when there are additional data that they need attached to a PSBT bu
|
||||
The proprietary use type is not to be used by any public specification and there is no expectation that any publicly available software be able to understand any specific meanings of it and the subtypes.
|
||||
This type must be used for internal processes only.
|
||||
|
||||
==Version 0==
|
||||
|
||||
Partially Signed Bitcoin Transactions version 0 is the first version of the PSBT format.
|
||||
Version 0 PSBTs must either omit PSBT_GLOBAL_VERSION or include it and set it to 0.
|
||||
Version 0 PSBTs must include PSBT_GLOBAL_UNSIGNED_TX, if omitted, the PSBT is invalid.
|
||||
|
||||
==Roles==
|
||||
|
||||
Using the transaction format involves many different roles. Multiple roles can be handled by a single entity, but each role is specialized in what it should be capable of doing.
|
||||
|
@ -89,7 +89,7 @@ my %DefinedLicenses = (
|
||||
);
|
||||
my %GrandfatheredPD = map { $_ => undef } qw(9 36 37 38 42 49 50 60 65 67 69 74 80 81 83 90 99 105 107 109 111 112 113 114 122 124 125 126 130 131 132 133 140 141 142 143 144 146 147 150 151 152);
|
||||
my %TolerateMissingLicense = map { $_ => undef } qw(1 10 11 12 13 14 15 16 21 31 33 34 35 39 43 44 45 47 61 64 68 70 71 72 73 101 102 106 120 121);
|
||||
my %TolerateTitleTooLong = map { $_ => undef } qw(39 44 45 47 49 60 67 68 69 73 74 75 80 81 99 105 106 109 113 122 126 131 143 145 147 173);
|
||||
my %TolerateTitleTooLong = map { $_ => undef } qw(39 44 45 47 49 60 67 68 69 73 74 75 80 81 99 105 106 109 113 122 126 131 143 145 147 173 174);
|
||||
|
||||
my %emails;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user