diff options
author | Luke Dashjr <luke_github1@dashjr.org> | 2021-11-04 23:03:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 23:03:05 +0000 |
commit | d459bb9851f571baff8caeaffb2edb4fb2e0cce2 (patch) | |
tree | 22dea8bd0a5f9519b62639341cdaed38d274b317 | |
parent | 708ce10bbc3c3be6d4293b50f56a1cae23c8b358 (diff) | |
parent | a5fd6c8f6086f6d4d4a156e70eceb9107df0a1e9 (diff) | |
download | bips-d459bb9851f571baff8caeaffb2edb4fb2e0cce2.tar.xz |
Merge pull request #1221 from kallerosenbaum/bip174in_final
BIP 0174: Clarify use of PSBT_IN_FINAL_* when data is empty
-rw-r--r-- | bip-0174.mediawiki | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index 9a663fc..27e475f 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -798,6 +798,8 @@ Or, for participants performing fA(psbt) and fB(psbt): Combine(fA(psbt), fB(psbt The Input Finalizer must only accept a PSBT. For each input, the Input Finalizer determines if the input has enough data to pass validation. If it does, it must construct the <tt>0x07</tt> Finalized scriptSig and <tt>0x08</tt> Finalized scriptWitness and place them into the input key-value map. +If scriptSig is empty for an input, <tt>0x07</tt> should remain unset rather than assigned an empty array. +Likewise, if no scriptWitness exists for an input, <tt>0x08</tt> should remain unset rather than assigned an empty array. All other data except the UTXO and unknown fields in the input key-value map should be cleared from the PSBT. The UTXO should be kept to allow Transaction Extractors to verify the final network serialized transaction. ===Transaction Extractor=== |