mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-18 05:12:47 +01:00
Merge pull request #1730 from Gudnessuche/patch-6
Update bip-0370.mediawiki
This commit is contained in:
commit
0b37449aa0
@ -224,7 +224,7 @@ Height based locktime is preferred over time based as Bitcoin's unit of time is
|
|||||||
|
|
||||||
===Unique Identification===
|
===Unique Identification===
|
||||||
|
|
||||||
PSBTv2s can be uniquely identified by constructing an unsigned transaction given the information provided in the PSBT and computing the transaction ID of that transaction.
|
PSBTv2s can be uniquely identified by constructing an unsigned transaction given the information provided in the PSBT, and computing the transaction ID of that transaction.
|
||||||
Since PSBT_IN_SEQUENCE can be changed by Updaters and Combiners, the sequence number in this unsigned transaction must be set to 0 (not final, nor the sequence in PSBT_IN_SEQUENCE).
|
Since PSBT_IN_SEQUENCE can be changed by Updaters and Combiners, the sequence number in this unsigned transaction must be set to 0 (not final, nor the sequence in PSBT_IN_SEQUENCE).
|
||||||
The lock time in this unsigned transaction must be computed as described previously.
|
The lock time in this unsigned transaction must be computed as described previously.
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ When an input or output is added, the corresponding PSBT_GLOBAL_INPUT_COUNT or P
|
|||||||
When an input is added, it must have PSBT_IN_PREVIOUS_TXID and PSBT_IN_OUTPUT_INDEX set.
|
When an input is added, it must have PSBT_IN_PREVIOUS_TXID and PSBT_IN_OUTPUT_INDEX set.
|
||||||
When an output is added, it must have PSBT_OUT_VALUE and PSBT_OUT_OUTPUT_SCRIPT set.
|
When an output is added, it must have PSBT_OUT_VALUE and PSBT_OUT_OUTPUT_SCRIPT set.
|
||||||
If the input has a required timelock, Constructors must set the requisite timelock field.
|
If the input has a required timelock, Constructors must set the requisite timelock field.
|
||||||
If the input has a required time based timelock, then PSBT_IN_REQUIRED_TIME_TIMELOCK must be set
|
If the input has a required time based timelock, then PSBT_IN_REQUIRED_TIME_TIMELOCK must be set.
|
||||||
If the input has a required height based timelock, then PSBT_IN_REQUIRED_HEIGHT_TIMELOCK must be set.
|
If the input has a required height based timelock, then PSBT_IN_REQUIRED_HEIGHT_TIMELOCK must be set.
|
||||||
If an input has both types of timelocks, then both may be set.
|
If an input has both types of timelocks, then both may be set.
|
||||||
In some cases, an input that can allow both types, but a particular branch supporting only one type of timelock will be taken, then the type of timelock that will be used can be the only one set.
|
In some cases, an input that can allow both types, but a particular branch supporting only one type of timelock will be taken, then the type of timelock that will be used can be the only one set.
|
||||||
|
Loading…
Reference in New Issue
Block a user